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