Topic: how to make this work in link_to

HI,

im new to rails and
im having dilemma right now how can i make this link_to

<li><a href="<%=URLS['otherdomainpath']%>/about/myrules" target="_blank">check here for more behavior</a></li> 

your help is appreciated

thanks

Last edited by jansky (2013-01-11 02:31:46)

Re: how to make this work in link_to

See more details on routes at Rails guides: http://guides.rubyonrails.org/routing.html

Re: how to make this work in link_to

You need to set the environment variable in an initializer or config file.

Learning rails, one day at a time.

http://keilmiller.com