class Erb::Generators::OauthConsumerGenerator

Public Instance Methods

copy_view_files() click to toggle source
# 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