curly-happiness/app/controllers/application_controller.rb
2017-11-08 18:51:41 +11:00

7 lines
230 B
Ruby

class ApplicationController < ActionController::Base
protect_from_forgery with: :exception
# # one other option that might seem a bit weird is to put a group of roles in an array:
# access [:all, :user] => [:show, :index]
end