futzing with cookies in 15.12, although my cookie counter is getting called twice per request... perhaps the "before_filter" method is applied for each filter in a chain?
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
<p>You first visited this site on <%= session[:first_time] %>.</p>
|
||||
<p>That was <%= time_ago_in_words session[:first_time] %> ago.</p>
|
||||
|
||||
<p>You have visited this website's pages <%= @visits %> time(s).</p>
|
||||
|
Reference in New Issue
Block a user