adds filtering of spending proposals by admin

This commit is contained in:
rgarcia
2016-03-01 19:58:13 +01:00
parent b38558f2f3
commit ec25b388c7
7 changed files with 70 additions and 20 deletions

View File

@@ -12,6 +12,10 @@ module AdminHelper
options
end
def admin_select_options
Administrator.all.order('users.username asc').includes(:user).collect { |v| [ v.name, v.id ] }
end
private
def namespace