]> git.openstreetmap.org Git - rails.git/blob - app/controllers/profiles/heatmaps_controller.rb
Disable dashboard map rotation and pitch (#6648)
[rails.git] / app / controllers / profiles / heatmaps_controller.rb
1 # frozen_string_literal: true
2
3 module Profiles
4   class HeatmapsController < ProfileSectionsController
5     private
6
7     def update_profile
8       current_user.update(:public_heatmap => params[:user][:public_heatmap])
9     end
10   end
11 end