Module: Roboto::Routing

Defined in:
lib/roboto/routing.rb

Overview

convenience methods for Rails routing

Instance Method Summary collapse

Instance Method Details

#mount_robotoObject

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