Commit 7bcc06c6566590ad0a42bdf53569bd1c52e9aec7
1 parent
1baa2902
Exists in
master
and in
1 other branch
authenticate clicks
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/clicks_controller.rb
... | ... | @@ -40,7 +40,7 @@ class ClicksController < ApplicationController |
40 | 40 | # POST /clicks |
41 | 41 | # POST /clicks.xml |
42 | 42 | def create |
43 | - #authenticate | |
43 | + authenticate | |
44 | 44 | if signed_in? |
45 | 45 | p = params[:click].except(:sid).merge(:visitor_id => current_user.visitors.find_or_create_by_identifier(params[:click][:sid]).id) |
46 | 46 | @click = Click.new(p) | ... | ... |