lib/commontator/controllers.rb in commontator-6.2.1 vs lib/commontator/controllers.rb in commontator-6.3.0
- old
+ new
@@ -1,11 +1,7 @@
require_relative 'shared_helper'
module Commontator::Controllers
- def self.included(base)
- base.helper Commontator::SharedHelper
- end
-
def commontator_set_thread_variables
return if @commontator_thread.nil? || !@commontator_thread.can_be_read_by?(@commontator_user)
@commontator_page = [params[:page].to_i, 1].max
@commontator_show_all = !params[:show_all].blank? &&