Refactoring of proposal workflow. Fixes #215
This commit is contained in:
parent
333c5e39bf
commit
e6bb168c5e
35 changed files with 491 additions and 192 deletions
|
|
@ -52,6 +52,10 @@ class Ability
|
|||
can [:show, :create], Registration do |registration|
|
||||
registration.new_record?
|
||||
end
|
||||
|
||||
can [:show, :create], Event do |event|
|
||||
event.new_record?
|
||||
end
|
||||
end
|
||||
|
||||
# Abilities for signed in users
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue