* Approvers can no longer approve an unapproved post if they previously approved it

This commit is contained in:
albert
2010-11-04 18:31:36 -04:00
parent 551c25909c
commit 6076788d60
3 changed files with 22 additions and 36 deletions

View File

@@ -34,6 +34,10 @@ class CurrentUser
user.id
end
def self.name
user.name
end
def self.method_missing(method, *params, &block)
if user.respond_to?(method)
user.__send__(method, *params, &block)