Class: Slim::Generators::OauthConsumerGenerator
- Inherits:
-
Erb::Generators::Base
- Object
- Erb::Generators::Base
- Slim::Generators::OauthConsumerGenerator
- Defined in:
- lib/generators/slim/oauth_consumer_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_view_files ⇒ Object
10 11 12 13 |
# File 'lib/generators/slim/oauth_consumer_generator.rb', line 10 def copy_view_files template 'index.html.slim', File.join('app/views', class_path, 'oauth_consumers', 'index.html.slim') template 'show.html.slim', File.join('app/views', class_path, 'oauth_consumers', 'show.html.slim') end |