Module: Roboto::Routing
- Defined in:
- lib/roboto/routing.rb
Overview
convenience methods for Rails routing
Instance Method Summary collapse
-
#mount_roboto ⇒ Object
convenience function for mounting the roboto rails engine to root.
Instance Method Details
#mount_roboto ⇒ Object
convenience function for mounting the roboto rails engine to root
5 6 7 |
# File 'lib/roboto/routing.rb', line 5 def mount_roboto mount Roboto::Engine => "/robots.txt" end |