Class: Radius::Generators::ErrorPagesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Radius::Generators::ErrorPagesGenerator
- Defined in:
- lib/rails/generators/radius/error_pages_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_error_pages ⇒ Object
6 7 8 9 10 |
# File 'lib/rails/generators/radius/error_pages_generator.rb', line 6 def create_error_pages %w{ 401.html 404.html 422.html 500.html }.each do |file| template file, File.join('public', file) end end |