Skip to content

Commit

Permalink
Merge pull request #394 from ethier/master
Browse files Browse the repository at this point in the history
Update initializer.rb to include the remove_role_if_empty option and …
  • Loading branch information
wldcordeiro committed Sep 30, 2016
2 parents bf6f100 + 4386aa1 commit 690757e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/generators/rolify/templates/initializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@

# Dynamic shortcuts for User class (user.is_admin? like methods). Default is: false
# config.use_dynamic_shortcuts
end

# Configuration to remove roles from database once the last resource is removed. Default is: true
# config.remove_role_if_empty = false
end

0 comments on commit 690757e

Please sign in to comment.