projects
/
selectricity-live
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Created a partial to DRY the aja voting method. Modified the voter class to
[selectricity-live]
/
app
/
models
/
token.rb
diff --git
a/app/models/token.rb
b/app/models/token.rb
index 4ed9598f15cddc4888a4c32612269ad3f0f124d2..e9f4fd637b94e2e91f533e4a0c1925e803c883d4 100644
(file)
--- a/
app/models/token.rb
+++ b/
app/models/token.rb
@@
-1,6
+1,6
@@
-class Token < ActiveRecord::Base
- belongs_to :vote
-
+class Token < ActiveRecord::Base
+ belongs_to :vote
+
def initialize
super
Benjamin Mako Hill
||
Want to submit a patch?