Sha256: 862484c1be2915f2aab1292b3649787a1a01f9fae947e78f0786683073ce3ff6
Contents?: true
Size: 289 Bytes
Versions: 24
Compression:
Stored size: 289 Bytes
Contents
class DispatchLinksController < ApplicationController def show @dispatch_link = DispatchLink.find_by_dispatch_id_and_position(params[:dispatch_id], params[:id]) @dispatch_link.clicks.create(:ip => request.env["HTTP_X_FORWARDED_FOR"]) redirect_to @dispatch_link.uri end end
Version data entries
24 entries across 24 versions & 1 rubygems