saves a query

This commit is contained in:
Juanjo Bazán
2015-09-12 16:19:17 +02:00
parent 6fc7a4a62a
commit 815ee0ad62

View File

@@ -70,7 +70,7 @@ class Proposal < ActiveRecord::Base
end
def editable_by?(user)
editable? && author_id == user.id
author_id == user.id && editable?
end
def votable_by?(user)