method

controller

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionDispatch::Routing::Mapper::Scoping

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

These similar methods exist in v7.1.3.2:

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.