oldmoe / litestack

MIT License
1.02k stars 56 forks source link

Make liteboard mountable in Rails #86

Closed julianrubisch closed 4 months ago

julianrubisch commented 7 months ago

This PR allows liteboard to be mounted as a Rails engine by exposing the base path as an argument:

require "litestack/liteboard/liteboard"

Rails.application.routes.draw do
  mount Liteboard.app("/liteboard"), at: "/liteboard"
end

There's a chance I didn't catch all path occurrences, so I guess a little cross-checking would be great 🙏

misterhtmlcss commented 4 months ago

@julianrubisch I'm new here and I'm just going through the older PRs and Issues and check in on the authors to see if they want to persist and update or close their issue. Do you want to bring it up to date and kick off a new conversation? Or shall we close it?

julianrubisch commented 4 months ago

I think we can close it. @oldmoe wanted to use it as a base for his own explorations...