lib/role-rails/engine.rb in role-rails-1.3.1 vs lib/role-rails/engine.rb in role-rails-1.4.0
- old
+ new
@@ -1,13 +1,13 @@
module RoleRails
class Engine < ::Rails::Engine
initializer "role-rails.register" do |app|
if defined?(Slim::Parser)
- Slim::Parser.default_options[:shortcut].try(:[]=, '@', 'role')
+ Slim::Parser.default_options[:shortcut].try(:[]=, '@', :attr => 'role')
end
if defined?(Slim::Engine)
- Slim::Engine.default_options[:attr_delimiter].try(:[]=, 'role', ' ')
+ Slim::Engine.default_options[:merge_attrs].try(:[]=, 'role', ' ')
end
end
end
end