Skip to content

Commit

Permalink
Fixed bug that breaks when trying to share profile (#82)
Browse files Browse the repository at this point in the history
* Fixed bug that breaks when trying to share profile

* clean up PublicProfilesController#developer

---------

Co-authored-by: Charlton Trezevant <ct@ctis.me>
  • Loading branch information
malexander15 and chtzvt authored Mar 25, 2024
1 parent aea7e1d commit c349b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/public_profiles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def new
private

def developer
Developer.find_by_hashid!(params[:developer_id])
Analytics::Event.developer_public_profile_viewed(current_user, cookies, params[:developer_id])
Developer.find_by_hashid!(params[:developer_id])
end
end

0 comments on commit c349b9e

Please sign in to comment.