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