Ruby URL format

I’m working on a straight forward rails app. One thing that has me
puzzled is the generated hyperlinks in rails,

<%= link_to ‘Home’, :controller => ‘my_controller’, :action => ‘index’
%>

generates a hyperlink like:

Home

when I’d expect:

Home

I’m a novice, is there something in the .htaccess I need to change or in
the routes.rb file, so I get a hyperlink in the format of the latter.

Thanks
T

Is that happening when deploying?

On Aug 23, 9:55 pm, Tom E. [email protected]

Andrius C. wrote:

Is that happening when deploying?

On Aug 23, 9:55�pm, Tom E. [email protected]

Yes, on my local machine this does not happen, but when deployed to my
host the problem appears.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs