You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: base_controller.rb
    path of file: ./repos/refinerycms/core/lib/refinery/admin
    
    the code of the file until where you have to start completion: require 'action_controller'
re
    
      def self.included(base)
        base.layout :layout?

        base.before_action :force_ssl!,
                           :authenticate_refinery_user!,
                           :restrict_controller

        base.after_action :store_location?, :only => [:index] # for redirect_back_or_default

        base.helper_method :searching?, :group_by_date, :refinery_admin_root_path
      end