method

controller

Importance_1
controller(controller, options={}) public

Scopes routes to a specific controller

controller "food" do
  match "bacon", action: "bacon"
end
Show source
Register or log in to add new notes.