Consulted by the ruby guides for the rails routing syntax http://guides.rubyonrails.org/routing.html I am writing the rule.
get 'guess/(index)', :to "guess#index"
This syntax is giving me an error and only after the => sign is working correctly.
get 'guess/(index)', :to => "guess#index"
What is the right syntax ?