Sha256: 6a7ff45ef4b3f85dff7bf023f06582c5a2c9a36f87c1e6d4f78867c701d313e1

Contents?: true

Size: 292 Bytes

Versions: 4

Compression:

Stored size: 292 Bytes

Contents

require_dependency "trafficlogger/application_controller"

module Trafficlogger
  class TrafficAnalyticsController < ApplicationController
    def index
    	@records = Analytic.search(params[:searchterm],params[:searchtype]).paginate(:page => params[:page],:per_page => 10)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trafficlogger-1.1.0 app/controllers/trafficlogger/traffic_analytics_controller.rb
trafficlogger-1.0.2 app/controllers/trafficlogger/traffic_analytics_controller.rb
trafficlogger-1.0.1 app/controllers/trafficlogger/traffic_analytics_controller.rb
trafficlogger-1.0.0 app/controllers/trafficlogger/traffic_analytics_controller.rb