added logic for available conferences based on roles in comments_controller.rb

This commit is contained in:
raluka 2015-09-03 12:17:42 +02:00
parent 52a503afd2
commit 800a41b3f9
5 changed files with 48 additions and 44 deletions

View file

@ -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,