In my route file I have some route like below. What this means? I looked in rails route guide but I can not find explanation for => and foo: 'bar'
get '/clients/:status' => 'clients#index', foo: 'bar'
Please explain what this means?
In my route file I have some route like below. What this means? I looked in rails route guide but I can not find explanation for => and foo: 'bar'
get '/clients/:status' => 'clients#index', foo: 'bar'
Please explain what this means?