method

controller

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 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.