]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Use cancancan to authorize user_preference_controller
[rails.git] / app / controllers / site_controller.rb
index bfff50c6dc7f05a05a65248d0d95a611088116e2..8f4aafa4426f22ff3b914e36e1b7269c66bb2acd 100644 (file)
@@ -103,7 +103,9 @@ class SiteController < ApplicationController
     @locale = params[:copyright_locale] || I18n.locale
   end
 
-  def welcome; end
+  def welcome
+    require_user
+  end
 
   def help; end