lib/generators/alchemy/module/templates/ability.rb.tt in alchemy_cms-6.0.11 vs lib/generators/alchemy/module/templates/ability.rb.tt in alchemy_cms-6.0.12

- old
+ new

@@ -1,11 +1,10 @@ -class <%= @class_name %>Ability +class <%= @controller_class %>Ability include CanCan::Ability def initialize(user) if user.present? && user.is_admin? can :manage, <%= @class_name %> can :manage, :admin_<%= @controller_name %> end end - -end \ No newline at end of file +end