Sha256: 59ad49e6c91493255df399a3ed616b5a7a01ce6f5c07cdabe0d49a3c669fa4f7

Contents?: true

Size: 181 Bytes

Versions: 7

Compression:

Stored size: 181 Bytes

Contents

class SessionsController < ApplicationController
  def count
    session[:count] ||= 0
    if request.post?
      session[:count] += 1
    end
    render :layout => false
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ajax_pagination-0.6.5 spec/rails30_app/app/controllers/sessions_controller.rb
ajax_pagination-0.6.4 spec/rails30_app/app/controllers/sessions_controller.rb
ajax_pagination-0.6.3 spec/rails30_app/app/controllers/sessions_controller.rb
ajax_pagination-0.6.2 spec/rails30_app/app/controllers/sessions_controller.rb
ajax_pagination-0.6.1 spec/rails30_app/app/controllers/sessions_controller.rb
ajax_pagination-0.6.0 spec/rails30_app/app/controllers/sessions_controller.rb
ajax_pagination-0.5.1 spec/rails30_app/app/controllers/sessions_controller.rb