Skip to content

Commit

Permalink
Remove path option while setting the cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
manya committed Mar 31, 2009
1 parent ab28f68 commit b7c42fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/acts_as_vote_handler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def ap_vote_registered
user = pollable_user(pollable_type, pollable_id)
if user.blank?
salt = poll.name
cookies["acts_as_pollable_#{salt}"] = {:value => "1", :expires => 1.years.from_now, :path => home_path }
cookies["acts_as_pollable_#{salt}"] = {:value => "1", :expires => 1.years.from_now }
end

if poll_name.nil?
Expand Down

0 comments on commit b7c42fd

Please sign in to comment.