Browse files

Fix: include entity as second argument when calling on_app_created

callback fixes #1
  • Loading branch information...
1 parent f4a7671 commit c1e30cbbb95175cad951d659fe04e804ca020940 Jesse Stuart committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/omniauth/strategies/tent.rb
View
2 lib/omniauth/strategies/tent.rb
@@ -130,7 +130,7 @@ def create_app
if (app = res.body) && !app.kind_of?(::String)
set_app(app)
- options[:on_app_created].call(get_app)
+ options[:on_app_created].call(get_app, get_state(:entity))
else
raise AppCreateFailure.new(res.inspect)
end

0 comments on commit c1e30cb

Please sign in to comment.