Hi Yanni,
have you tried this:
redirect_to "/somepage", :status=>:moved_permanently
Read ActionController::Base.
Regards Nicolai
Hi Yanni,
have you tried this:
redirect_to "/somepage", :status=>:moved_permanently
Read ActionController::Base.
Regards Nicolai
That worked great! Thanks! I guess the old way does not work with the latest version of rails.
Nicolai Reuschling wrote:
Yanni.
the "old" way is almost two years old: http://dev.rubyonrails.org/changeset/7820 That's close to eternity in Rails world.
Glad I could help!
Nicolai