changes commentable concern for commentable_actions concern
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
module Commentable
|
module CommentableActions
|
||||||
extend ActiveSupport::Concern
|
extend ActiveSupport::Concern
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
class DebatesController < ApplicationController
|
class DebatesController < ApplicationController
|
||||||
include Commentable
|
include CommentableActions
|
||||||
include FlagActions
|
include FlagActions
|
||||||
|
|
||||||
before_action :parse_search_terms, only: :index
|
before_action :parse_search_terms, only: :index
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
class ProposalsController < ApplicationController
|
class ProposalsController < ApplicationController
|
||||||
include Commentable
|
include CommentableActions
|
||||||
include FlagActions
|
include FlagActions
|
||||||
|
|
||||||
before_action :parse_search_terms, only: :index
|
before_action :parse_search_terms, only: :index
|
||||||
|
|||||||
Reference in New Issue
Block a user