class Radius::Generators::ErrorPagesGenerator

Public Instance Methods

create_error_pages() click to toggle source
# 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