]> git.openstreetmap.org Git - rails.git/blob - app/controllers/dashboards_controller.rb
Add home location condition to user model
[rails.git] / app / controllers / dashboards_controller.rb
1 class DashboardsController < ApplicationController
2   layout "site"
3
4   before_action :authorize_web
5   before_action :set_locale
6
7   authorize_resource :class => false
8
9   before_action :check_database_readable
10
11   def show
12     @user = current_user
13   end
14 end