Class: Pageflow::Generators::ErrorPagesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Pageflow::Generators::ErrorPagesGenerator
- Defined in:
- lib/generators/pageflow/error_pages/error_pages_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_fonts ⇒ Object
14 15 16 |
# File 'lib/generators/pageflow/error_pages/error_pages_generator.rb', line 14 def copy_fonts directory 'fonts', 'public/pageflow/error_pages/fonts' end |
#copy_images ⇒ Object
22 23 24 |
# File 'lib/generators/pageflow/error_pages/error_pages_generator.rb', line 22 def copy_images directory 'images', 'public/pageflow/error_pages/images' end |
#copy_stylesheets ⇒ Object
18 19 20 |
# File 'lib/generators/pageflow/error_pages/error_pages_generator.rb', line 18 def copy_stylesheets directory 'stylesheets', 'public/pageflow/error_pages/stylesheets' end |
#create_not_found ⇒ Object
10 11 12 |
# File 'lib/generators/pageflow/error_pages/error_pages_generator.rb', line 10 def create_not_found copy_file '404.html', 'public/pageflow/error_pages/404.html' end |