Sha256: 64d8e0a6ea27ed0c25113cfa63b8c1e533ae0e8f773eebe94a2406e29eb7be92
Contents?: true
Size: 575 Bytes
Versions: 6
Compression:
Stored size: 575 Bytes
Contents
module ExceptionHandler class Generators class InstallGenerator < Rails::Generators::Base #Needed to reference files source_root File.expand_path("../../templates", __FILE__) ########################################### #Config def create_config_file return unless options.empty? template "exception_handler.rb", "config/initializers/exception_handler.rb" # https://github.com/plataformatec/devise/blob/master/lib/generators/devise/install_generator.rb#L13 end ########################################### end end end
Version data entries
6 entries across 6 versions & 1 rubygems