|
|
|
|
|
by yxhuvud
2899 days ago
|
|
No, you didn't have to spread out the logic like that in Rails3. You could do something like class AsController < ApplicationController
def index
end
class BsController < ApplicationController
def create
end
end
end
with routes like resources :as do
resources :bs, controller: "as/bs", only: :create
end
|
|