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