method

controller

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Scoping
controller(controller) public

Scopes routes to a specific controller

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