Skip to content
This repository has been archived by the owner on Dec 25, 2020. It is now read-only.

Commit

Permalink
catch wee_back_to_session
Browse files Browse the repository at this point in the history
  • Loading branch information
mneumann committed Nov 29, 2004
1 parent c46da04 commit d76a914
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/wee/session.rb
Expand Up @@ -107,7 +107,9 @@ def process_request
s = {@context.handler_id => nil}.update(@context.request.query)
callback_stream = page.callback_registry.create_callback_stream(s)

@root_component.process_callback_chain(callback_stream)
catch(:wee_back_to_session) {
@root_component.process_callback_chain(callback_stream)
}
handle_new_page_view(@context)

end
Expand Down

0 comments on commit d76a914

Please sign in to comment.