generators/oauth_provider/templates/controller.rb in oauth-plugin-0.3.8 vs generators/oauth_provider/templates/controller.rb in oauth-plugin-0.3.9

- old
+ new

@@ -1,5 +1,11 @@ require 'oauth/controllers/provider_controller' class OauthController < ApplicationController include OAuth::Controllers::ProviderController + # Override this to match your authorization page form + # It currently expects a checkbox called authorize + # def user_authorizes_token? + # params[:authorize] == '1' + # end + end