Class: Haml::Generators::OauthConsumerGenerator

Inherits:
Erb::Generators::Base
  • Object
show all
Defined in:
lib/generators/haml/oauth_consumer_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_view_filesObject



10
11
12
13
# File 'lib/generators/haml/oauth_consumer_generator.rb', line 10

def copy_view_files
  template 'index.html.haml',              File.join('app/views', class_path, 'oauth_consumers', 'index.html.haml')
  template 'show.html.haml',               File.join('app/views', class_path, 'oauth_consumers', 'show.html.haml')
end