CI / Test (push) Successful in 44s
Users with stored remoteStorage authorizations now jump straight to the connected apps dashboard from the services dashboard, instead of the storage info page.
14 lines
346 B
Ruby
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
|