I've aliased a route in my routes.rb file.

get 'sign_in' => 'sessions#new', :as => 'sign_in'

I've noticed that when I render the action for the aliased route, the
original name (sessions/new) NOT the alias (sign_in) is used. Does
anyone know how to force the use of the aliased route?

Thanks.

-Ari

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJul 16, '12 at 3:41p
activeJul 16, '12 at 3:41p
posts1
users1
websiterubyonrails.org
irc#RubyOnRails

1 user in discussion

Ari King: 1 post

People

Translate

site design / logo © 2022 Grokbase