This may be an unwanted behaviour, or not, but I was working with this as a feature for using some crazy-routing for pretty urls.
url = "" => {"action"=>"index", "id"=>"21", "controller"=>"video"}
then, I would do this.
redirect_to(:controller => "video")
The url it redirects to is...
"video/index/21"
While, I would expect (and the previous behaviour was)..
"video"
Am I crazy?
-hampton.
That means its understanding the deletion of the :do directive, but is keeping the :id and :action around.
On 6/1/06,
Jamis Buck <[EMAIL PROTECTED]> wrote:
Just a quick update--the routing rewrite has been checked in. We've
already noticed a few things broken and have patching them this
morning, but we'd love to hear from those of you willing to test
their apps with the bleeding edge.
Thanks!
- Jamis
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core
_______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
