What would the controller and action be for this route?

what would the controller and action be for this route?

get ‘abc/def/gh/jkl’

I know when you have a route like get ‘abc/def’ then it’s a controller called abc, and an action called def. But what about that one, get ‘abc/def/gh/jkl’ ?

A route can only be handled by one controller, but you can have multiple segments inside that route like this:

get 'photos/:id/with_user/:user_id', to: 'photos#show'

Then in the controller, you can access params[:id] and params[:user_id]. More info: https://guides.rubyonrails.org/routing.html#dynamic-segments