lib/curupira/authorizer.rb in curupira-0.1.1 vs lib/curupira/authorizer.rb in curupira-0.1.2

- old
+ new

@@ -33,10 +33,10 @@ User.joins( role_group_users: { role: { features: [:action_labels] } } ) .where( features: { controller: params[:controller] }, - action_labels: { name: params[:action] }, + action_labels: { name: [params[:action], 'manage'] }, id: current_user ) end end end \ No newline at end of file