|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
class DiscussesController < ApplicationController
|
|
|
|
|
LIMIT = 10
|
|
|
|
|
before_action :require_login, only: [:create, :reply, :hidden, :reward_code, :plus, :destroy]
|
|
|
|
|
before_action :find_container, only: [:index, :hidden]
|
|
|
|
|
before_action :find_discuss, except: [:create, :index, :new_message, :reward_code, :forum_discusses, :plus]
|
|
|
|
|
|
|
|
|
|