converted haml templates

This commit is contained in:
albert
2010-10-28 20:11:17 -04:00
parent fc0a076aca
commit d0d3487fc8
12 changed files with 118 additions and 69 deletions

View File

@@ -29,4 +29,16 @@ class CurrentUser
def self.ip_addr
Thread.current[:current_ip_addr]
end
def self.id
user.id
end
def self.method_missing(method, *params, &block)
if user.respond_to?(method)
user.__send__(method, *params, &block)
else
super
end
end
end