rework roles with rolify
This commit is contained in:
parent
f9f840c811
commit
4af0e59ca6
40 changed files with 167 additions and 228 deletions
3
Gemfile
3
Gemfile
|
|
@ -23,6 +23,9 @@ gem 'omniauth-google-oauth2'
|
|||
# Use cancancan as authorization framework
|
||||
gem 'cancancan'
|
||||
|
||||
# Use rolify to set roles
|
||||
gem 'rolify'
|
||||
|
||||
# Use transitions as state machine
|
||||
gem 'transitions', :require => %w( transitions active_record/transitions )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue