Add simple controller to create events
This commit is contained in:
7
app/policies/event_policy.rb
Normal file
7
app/policies/event_policy.rb
Normal file
@ -0,0 +1,7 @@
|
||||
class EventPolicy < AdminOnlyPolicy
|
||||
|
||||
def create?
|
||||
everyone
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user