Monday, February 1, 2010

[Rails] Help needed in Routes

Hi All

I am now using Rails 2.3.4
i would want to have a route like
http://localhost:3000/mysite/questions/show.xml/question-title

In Rails 2.1.2, i had used the format
map.namespace :mysite do |mysite|

mysite.show_question '/questions/show.:format/:title', :controller
=> 'mysite_questions', :action => 'show'

end

But now the same route shows up an error in Rails 2.3.4.I am not able to
start the application even.
Kindly tell me what should be followed so that the application runs.

Thanks In Advance,

Charanya
--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate