Class: Erb::Generators::OauthConsumerGenerator

Inherits:
Base
  • Object
show all
Defined in:
lib/generators/erb/oauth_consumer_generator.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) copy_view_files



8
9
10
11
# File 'lib/generators/erb/oauth_consumer_generator.rb', line 8

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