Sha256: c06d352bb64818b28c7ca4096de3898f263e68472f69261d2f60ba9d48b04576

Contents?: true

Size: 316 Bytes

Versions: 1

Compression:

Stored size: 316 Bytes

Contents

module Tally
  class ApplicationController < ActionController::Base

    protect_from_forgery with: :exception

    private

      def search
        @search ||= RecordSearcher.new(search_params)
      end

      def search_params
        params.permit(:type, :id, :key, :start_date, :end_date)
      end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tally-1.0.0.beta1 app/controllers/tally/application_controller.rb