Skip to content

Commit

Permalink
Updated impressionist, added browser
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcmerritt committed Mar 10, 2022
1 parent ba10934 commit 982c40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/impressionist_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def impressionist(obj,message=nil,opts={}, extra={},lang=I18n.locale,browser_inf

custom_params = associative_create_statement({:message => message})
custom_params[:params] = custom_params[:params].merge(extra) #.merge({lang:lang})
obj.impressions.create(custom_params.merge({:lang => lang,:browser=>browser_info}))
obj.impressions.create(custom_params.merge(:lang => lang,:browser=>browser_info))
end
else
# we could create an impression anyway. for classes, too. why not?
Expand Down

0 comments on commit 982c40a

Please sign in to comment.