This opens up many possibilities for more interesting things to be shown on the dashboard, as well as making it easier to find if you have lots of content in your profile.
14 lines
254 B
Ruby
14 lines
254 B
Ruby
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
|