Class: Flip::RoutesGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/flip/routes/routes_generator.rb

Instance Method Summary collapse

Instance Method Details

#add_routeObject



3
4
5
# File 'lib/generators/flip/routes/routes_generator.rb', line 3

def add_route
  route %{mount Flip::Engine => "/flip"}
end