]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/dashboards_controller.rb
Split the non-public information off of the profile page
[rails.git] / app / controllers / dashboards_controller.rb
diff --git a/app/controllers/dashboards_controller.rb b/app/controllers/dashboards_controller.rb
new file mode 100644 (file)
index 0000000..540683d
--- /dev/null
@@ -0,0 +1,14 @@
+class DashboardsController < ApplicationController
+  layout "site"
+
+  before_action :authorize_web
+  before_action :set_locale
+
+  authorize_resource :class => false
+
+  before_action :check_database_readable
+
+  def show
+    @user = current_user
+  end
+end