Add simple controller to create events

This commit is contained in:
Maximilian Grundke
2018-08-14 18:08:25 +02:00
parent f1278a7f48
commit 7d7234ce63
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,7 @@
class EventPolicy < AdminOnlyPolicy
def create?
everyone
end
end