Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
ismail Akbudak committed Jun 22, 2016
1 parent a82b49b commit 123b032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/app/helpers/application_helper.rb.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ module ApplicationHelper
end

def get_users
User.map{|c| ["#{c.email} - #{c.full_name}", c.id] }
User.all.map{|c| ["#{c.email} - #{c.full_name}", c.id] }
end

def get_admins
Admin.map{|c| ["#{c.email} - #{c.full_name}", c.id] }
Admin.all.map{|c| ["#{c.email} - #{c.full_name}", c.id] }
end

def get_audit_users
Expand Down

0 comments on commit 123b032

Please sign in to comment.