class Growth::Generators::InstallGenerator
Public Instance Methods
copy_initializer()
click to toggle source
# File lib/generators/growth/install_generator.rb, line 11 def copy_initializer template "growth.rb", "config/initializers/growth.rb" end
setup_routes()
click to toggle source
# File lib/generators/growth/install_generator.rb, line 15 def setup_routes route 'mount Growth::Engine, at: "/growth"' end