mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 04:11:12 +08:00
Fix all the trailing whitespace
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
class ClicksController < ApplicationController
|
||||
|
||||
skip_before_filter :check_xhr
|
||||
|
||||
|
||||
def track
|
||||
requires_parameter(:url)
|
||||
requires_parameter(:url)
|
||||
if params[:topic_id].present? or params[:post_id].present?
|
||||
args = {url: params[:url], ip: request.remote_ip}
|
||||
args[:user_id] = current_user.id if current_user.present?
|
||||
@ -22,4 +22,4 @@ class ClicksController < ApplicationController
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user