]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/users_controller.rb
Fix new rubocop warnings
[rails.git] / app / controllers / users_controller.rb
index 6215403c9795895d4059e5e483412065084afb16..933cec53de9f2a78344363bf40b3f98870d1e30d 100644 (file)
@@ -83,7 +83,7 @@ class UsersController < ApplicationController
         end
 
         if current_user.save
-          flash[:piwik_goal] = PIWIK["goals"]["signup"] if defined?(PIWIK)
+          flash[:matomo_goal] = Settings.matomo["goals"]["signup"] if defined?(Settings.matomo)
 
           referer = welcome_path