Missed renaming of methods

This commit is contained in:
Tom Milewski 2013-09-03 11:16:18 -04:00
parent 74bcbd7122
commit abf32a4d94
1 changed files with 6 additions and 6 deletions

View File

@ -21,16 +21,16 @@ module OmniAuth
OmniAuth.config.on_failure = block
end
def on_options_hook(&block)
OmniAuth.config.on_options_hook = block
def before_options_phase(&block)
OmniAuth.config.before_options_phase = block
end
def on_request_hook(&block)
OmniAuth.config.on_request_hook = block
def before_request_phase(&block)
OmniAuth.config.before_request_phase = block
end
def on_callback_hook(&block)
OmniAuth.config.on_callback_hook = block
def before_callback_phase(&block)
OmniAuth.config.before_callback_phase = block
end
def configure(&block)