课程资源页面app自动登陆处理

This commit is contained in:
z9hang 2015-03-11 11:22:58 +08:00
parent d177f1ae89
commit eec155f077
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class FilesController < ApplicationController
menu_item :files menu_item :files
before_filter :auth_login1, :only => [:index] before_filter :auth_login1, :only => [:index]
before_filter :logged_user_by_apptoken,:only => [:index]
before_filter :find_project_by_project_id#, :except => [:getattachtype] before_filter :find_project_by_project_id#, :except => [:getattachtype]
before_filter :authorize, :except => [:getattachtype,:quote_resource_show,:search] before_filter :authorize, :except => [:getattachtype,:quote_resource_show,:search]