mirror of
https://github.com/kingomarnajjar/curly-happiness.git
synced 2026-07-25 22:27:18 +10:00
7 lines
230 B
Ruby
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
|