added logic for available conferences based on roles in comments_controller.rb
This commit is contained in:
parent
52a503afd2
commit
800a41b3f9
5 changed files with 48 additions and 44 deletions
|
|
@ -29,7 +29,7 @@ class User < ActiveRecord::Base
|
|||
|
||||
devise(*devise_modules)
|
||||
|
||||
has_and_belongs_to_many :roles
|
||||
has_and_belongs_to_many :roles
|
||||
has_many :openids
|
||||
|
||||
attr_accessible :email, :password, :password_confirmation, :remember_me, :role_id, :role_ids,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue