generators/oauth_consumer/templates/consumer_token.rb in oauth-plugin-0.4.0.rc2 vs generators/oauth_consumer/templates/consumer_token.rb in oauth-plugin-0.4.0
- old
+ new
@@ -1,11 +1,11 @@
require 'oauth/models/consumers/token'
class ConsumerToken < ActiveRecord::Base
include Oauth::Models::Consumers::Token
-
+
# You can safely remove this callback if you don't allow login from any of your services
before_create :create_user
-
+
# Modify this with class_name etc to match your application
belongs_to :user
-
+
end
\ No newline at end of file