On 31.7.2005, at 08:42, Dmytro wrote:
> Hi guys, For example I need to go to "edit/21#495" When I trying
to
> use ''+"#"+'', it shows
"edit/21&23495". Instead of # it shows &23. ...
> redirect_to :action => ''edit'', :id =>
>
@order_id+"#"+@params[''batch''][''id'']
... Does any one know how can I
> do it?
:action => ''edit'', :id => @order_id, :anchor =>
@params[''batch''][''id'']
(see the docs for url_for [1] for the complete specs)
//jarkko
[1]
http://rails.rubyonrails.com/classes/ActionController/Base.html#M000170
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Jarkko Laine
http://jlaine.net
http://odesign.fi
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails