class DashboardController < ApplicationController before_action :require_user_signed_in def index @current_section = :services @storage_path = if Setting.remotestorage_enabled? && current_user.remote_storage_authorizations.exists? apps_services_storage_path else services_storage_path end end end