demarches-normaliennes/app/controllers/backoffice/commentaires_controller.rb

7 lines
No EOL
152 B
Ruby

class Backoffice::CommentairesController < CommentairesController
before_action :authenticate_gestionnaire!
def is_gestionnaire?
true
end
end