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
Post a Comment