rails_panel
rails_panel copied to clipboard
Relative path calculation on the backend
Related to https://github.com/dejan/rails_panel/issues/171
It aims to replace normalizePath filter which:
- doesn't work well if path includes
/app/ - doesn't support files in other directories, like
lib/
https://github.com/dejan/rails_panel/blob/4204111affa05fec6793a77e37072bd4a079f251/rails_panel/assets/javascripts/filters.js#L34-L38
Frontend changes are backward compatible.