* Refactored routes some
* Fixed some major bugs with pools and pool versioning
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class AdvertisementHitsController < ApplicationController
|
||||
def create
|
||||
advertisement = Advertisement.find(params[:id])
|
||||
advertisement = Advertisement.find(params[:advertisement_id])
|
||||
advertisement.hits.create(:ip_addr => request.remote_ip)
|
||||
redirect_to advertisement.referral_url
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user