merb 0.4.0 - redirect problems
Adam Roth
adamjroth at gmail.com
Fri Sep 21 02:28:40 EDT 2007
I had redirects working just the other day... before I upgraded to the
latest release. Can somebody please chime in as to why this simple redirect
is throwing an error?
Controller:
-----------------------
def do
redirect "http://www.ebay.com"
end
Error Output:
-------------------------
Internal server error 500
uninitialized constant Merb::ControllerMixin::MovedTemporarily
in /lib/merb/mixins/controller.rb:
def redirect( url )
MERB_LOGGER.info("Redirecting to: #{url}")
raise MovedTemporarily, url
end
Thanks
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070921/6d288670/attachment.html
More information about the Merb-devel
mailing list