课程资源页面app自动登陆处理
This commit is contained in:
parent
d177f1ae89
commit
eec155f077
|
@ -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]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue