OSDN Git Service
(root)
/
pettanr
/
pettanr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t30350#:fix destroy
[pettanr/pettanr.git]
/
app
/
models
/
provider_status.rb
diff --git
a/app/models/provider_status.rb
b/app/models/provider_status.rb
index
0c71768
..
3902804
100644
(file)
--- a/
app/models/provider_status.rb
+++ b/
app/models/provider_status.rb
@@
-104,4
+104,9
@@
class ProviderStatus < ActiveRecord::Base
{:include => {:provider => {}} }
end
+ def stop
+ self.token = nil
+ self.save
+ end
+
end