Class: Flipflop::RoutesGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Flipflop::RoutesGenerator
- Defined in:
- lib/generators/flipflop/routes/routes_generator.rb
Instance Method Summary collapse
Instance Method Details
#add_route ⇒ Object
2 3 4 |
# File 'lib/generators/flipflop/routes/routes_generator.rb', line 2 def add_route route %{mount Flipflop::Engine => "/flipflop"} end |