How routing works in rails

Viewed 99

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?

2 Answers
Related