forked from manveru/ramaze
-
Notifications
You must be signed in to change notification settings - Fork 37
Controllers
royw edited this page Aug 15, 2012
·
5 revisions
- Handling HTTP verbs separately (e.g. GET, POST, ...)
- Bypassing view and layout rendering for a specific action
- Knowing which controller or method triggered view/layout rendering
- Adding pagination to display large amounts of data
This is probably because you used redirect_referrer
of redirect
in your
method. When used, those method completely get out of execution flow and bypass
whatever code is next.
A workaround is to set response.status
to a 30x (302, 303, ...) and add a
Location header.
response.status = 302
response.headers['Location'] = 'http://somewhere.el.se'
- Website
- Google Groups
- User Guide
- [#ramaze on the Freenode network] (http://webchat.freenode.net/?channels=ramaze)