changes commentable concern for commentable_actions concern

This commit is contained in:
rgarcia
2015-09-29 15:56:55 +02:00
parent 1360d07df1
commit e1a2c0f523
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
module Commentable module CommentableActions
extend ActiveSupport::Concern extend ActiveSupport::Concern
def index def index

View File

@@ -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

View File

@@ -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