Displaying 1 result from an estimated 1 matches for "controllermixin".
Did you mean:
controller_mixin
2007 Sep 21
3
merb 0.4.0 - redirect problems
...pgraded 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/...