Class: ReviseAuth::Generators::ViewsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- ReviseAuth::Generators::ViewsGenerator
- Defined in:
- lib/generators/revise_auth/views_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_views ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/generators/revise_auth/views_generator.rb', line 10 def copy_views if [:views] [:views].each do |directory| directory "app/views/revise_auth/#{directory}" end else directory "app/views/revise_auth" end end |