Class: Erbac::Generators::UserGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/erbac/user_generator.rb

Instance Method Summary collapse

Instance Method Details

#inject_user_contentObject



11
12
13
# File 'lib/generators/erbac/user_generator.rb', line 11

def inject_user_content
  inject_into_file(model_path, "  control_access\n", :after => inject_erbac_method)
end