fixing for app_auth

This commit is contained in:
Matthew Fu committed 2012-01-05 16:20:51 +08:00
1 parent d3ca1647be
commit 7b40706aed
9 files changed
+225 -112

No files matched your search

@@ -4,7 +4,7 @@ class Admin::AppAuthsController < ApplicationController
before_filter :is_admin?
def index
@user_roles = UserRole.all.entries
@roles = Role.all.entries
apps = Purchase.where(:type =>"App")
@app_auth_data = apps.entries.map do |app|
app_c = eval(app.app_controller)