root “posts#index”
87 88 89 90 91
# File 'lib/jets/router.rb', line 87 def root(to, options={}) default = {path: '', to: to, method: :get, root: true} options = default.merge(options) @routes << Route.new(options) end