Skip to content

Add link to main app root path in the navbar #257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

virolea
Copy link
Contributor

@virolea virolea commented May 7, 2025

Closes #155

Adds a link to the application_selection navbar that redirects to the main_app.root_path:

CleanShot 2025-05-07 at 16 55 24@2x

Note that the main_app.root_path may not be defined, as there are no rules in Rails that enforce an app to have a root path; hence the extra precaution in the code with the check defined?(main_app.root_path).

As a result some users may not understand why the link does not show up in their app, but as suggested in the issue discussion](#155 (comment)), this could be resolved by a configuration option as an iteration of this later on.

I am open on adding it here though, as it shouldn't be too much additional work.

Copy link
Member

@rosa rosa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @virolea, and sorry for the delay!

@rosa rosa merged commit 6e06fde into rails:main Jul 11, 2025
@virolea virolea deleted the add-back-to-main-app-link-to-interface branch July 15, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Link from mission control back to the main rails application
2 participants