Files
akkounts/app/controllers/dashboard_controller.rb
T
raucao 455bf93c81
CI / Test (push) Successful in 44s
Link dashboard Storage card to connected apps when present
Users with stored remoteStorage authorizations now jump straight to the connected apps dashboard from the services dashboard, instead of the storage info page.
2026-11-04 16:08:22 +04:00

14 lines
346 B
Ruby

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