Fix approval in index

This commit is contained in:
chris committed 2013-07-10 16:42:25 +08:00
1 parent 2c331bf1a5
commit 1c4b66f1cb
9 files changed
+76 -66

No files matched your search

@@ -144,7 +144,7 @@ class Admin::AuthorizationsController < OrbitBackendController
def setup_vars
@module_app = ModuleApp.first(conditions: {:key => params[:module]} ) if params[:module]
@category = Category.find(params[:category]) rescue nil
@category = Category.find(params[:id]) rescue nil
@type = params[:type]
end