Sha256: 155d2bccf5141c39c306bcc5078d3c28777f3310fb67bf88b76b1cf17a1ba9b0
Contents?: true
Size: 327 Bytes
Versions: 2
Compression:
Stored size: 327 Bytes
Contents
class RailsConfigGenerator < Rails::Generators::Base desc "Generates a custom Rails Config initializer file." def self.source_root @_rails_config_source_root ||= File.expand_path("../templates", __FILE__) end def copy_initializer template "rails_config.rb", "config/initializers/rails_config.rb" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_config-0.1.3 | lib/generators/rails_config_generator.rb |
rails_config-0.1.0 | lib/generators/rails_config_generator.rb |