Return true if user is authorized for controller/action, otherwise false
36 37 38
# File 'app/helpers/application_helper.rb', line 36 def authorize_for(controller, action) User.current.allowed_to?({:controller => controller, :action => action}, @project) end