ruby - Rails Routes Starting Slash -


could please tell me significance of starting slashes on routes?

get "search" => "hello#world" vs "/search" => "hello#world" 

both works what's difference?

they same. ruby on rails being forgiving allowing both formats. may use them interchangeably.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -