WOW! I don't believe it. I only have to reorder the lines as hazardco
said!
SOLVED! but i have a question. Why reorder the lines solved my problem?
anyway thanks guy.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
thanks Tommaso and hazardco!
:)
both ways worked.
solved.
--
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
Charanya Nagarajan wrote:
Hi All
I had been using Rails 2.1.2 and in routes.rb i had a route defined
like
map.namespace :mysite do |mysite|
mysite.questions '/questions.:format', :controller =
'mysite_questions', :action = 'index'
end
And now I have updated my rails version
Thanks For the help Kannan.
But I realised that,I get this error,only when I use this type of route
mysite.search_questions '/questions/search.:format/:q', :controller =
'mysite_questions', :action = 'search'
This works perfectly fine in the previous old version of rails not with
the newer
4 matches
Mail list logo