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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

virolea
Copy link

@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, this could be resolved by a configuration option as an iteration of this later on.

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
1 participant