Skip to content

feat: SolidStackWeb.mount_path helper (#73)#73

Merged
eclectic-coding merged 2 commits into
mainfrom
feat/mount-path-helper
May 26, 2026
Merged

feat: SolidStackWeb.mount_path helper (#73)#73
eclectic-coding merged 2 commits into
mainfrom
feat/mount-path-helper

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • Adds SolidStackWeb.mount_path — returns the path at which the engine is mounted in the host app, derived automatically from Rails routes; no configuration required
  • Documents it in the install generator template and in the README (alongside the new install generator section)

Usage

link_to "Queue Dashboard", SolidStackWeb.mount_path

Test plan

  • bundle exec rspec — 325 examples, 0 failures
  • bin/rubocop — no offenses
  • Line coverage: 99.36%

Closes #45

🤖 Generated with Claude Code

eclectic-coding and others added 2 commits May 26, 2026 19:42
Returns the path at which the engine is mounted in the host app,
derived automatically from Rails routes — no configuration required.
Host apps can use `link_to "Dashboard", SolidStackWeb.mount_path`
instead of hardcoding the mount path. Documented in the install
generator template. Closes #45.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit 3a8c00b into main May 26, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/mount-path-helper branch May 26, 2026 23:45
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.

[v0.9.0] DX: configurable mount path helper

1 participant