lib/generators/faalis/templates/faalis.rb in faalis-1.0.0.alpha1 vs lib/generators/faalis/templates/faalis.rb in faalis-1.0.0.alpha2
- old
+ new
@@ -1,11 +1,13 @@
Faalis::Engine.setup do |config|
# Logger settings for Faalis.
# Default value is the rails logger
# config.logger = Logger.new(STDOUT)
+ config.orm = 'active_record'
+
# Add your models which want to manage their permissions
- config.models_with_permission = []
+ config.models_with_permission = ['Faalis::Permissions::Auth']
# Url prefix for dashboard section. default is '/dashboard'
# config.dashboard_namespace = :dashboard
end