requires the user to be logged in, add missing module to controller
adds missing modules to debate_links adds missing modules to debate_links
This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
class DebateLinksController < ApplicationController
|
class DebateLinksController < ApplicationController
|
||||||
|
include FeatureFlags
|
||||||
include CommentableActions
|
include CommentableActions
|
||||||
|
|
||||||
|
before_action :authenticate_user!, except: [:show]
|
||||||
|
|
||||||
load_and_authorize_resource class: "Debate"
|
load_and_authorize_resource class: "Debate"
|
||||||
|
|
||||||
|
feature_flag :debates
|
||||||
|
|
||||||
respond_to :html, :js
|
respond_to :html, :js
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|||||||
Reference in New Issue
Block a user