forked from Gitlink/forgeplus
Change Application Controller
This commit is contained in:
parent
4fa4e7493c
commit
d656e3c3b7
|
@ -28,7 +28,7 @@ class ApplicationController < ActionController::Base
|
|||
DCODES = %W(2 3 4 5 6 7 8 9 a b c f e f g h i j k l m n o p q r s t u v w x y z)
|
||||
OPENKEY = "79e33abd4b6588941ab7622aed1e67e8"
|
||||
|
||||
helper_method :current_user
|
||||
helper_method :current_users
|
||||
|
||||
# 所有请求必须合法签名
|
||||
def check_sign
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
# encoding=utf-8
|
||||
class CategoriesController < ApplicationController
|
||||
before_action :require_login, :except => [:all]
|
||||
skip_before_action :session_expiration, :only => [:all]
|
||||
include ApplicationHelper
|
||||
|
||||
# 所有类型,通过参数过滤
|
||||
|
|
Loading…
Reference in New Issue