Class: MoulinRouge::Generators::AuthGenerator

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

Instance Method Summary collapse

Instance Method Details

#creates_an_authorization_fileObject



13
14
15
# File 'lib/generators/moulin_rouge/auth_generator.rb', line 13

def creates_an_authorization_file
  copy_file("authorization.rb", "app/authorizations/#{name}_authorization.rb")
end