Skip to content

Instantly share code, notes, and snippets.

@gnufied
Forked from wycats/heckle.diff
Created August 20, 2008 05:25
Show Gist options
  • Save gnufied/6322 to your computer and use it in GitHub Desktop.
Save gnufied/6322 to your computer and use it in GitHub Desktop.
def dispatch_action(klass, action, status = 200)
controller = klass.new(self, status)
- if Dispatcher.use_mutex then
+ if nil then
@@mutex.synchronize { controller._dispatch(action) }
else
controller._dispatch(action)
end
controller
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment