trailblazer / cells

View components for Ruby and Rails.
https://trailblazer.to/2.1/docs/cells.html
3.07k stars 236 forks source link

How do i access main_app? #453

Closed nir0 closed 7 years ago

nir0 commented 7 years ago

i've generated an engine, it uses standard layout with cells inside. menu cell renders namespaced (wrong) links, so i found i need to use main_app.profile_path sadly, cells don't know what is this, i've been trying to include Rails::Engine with no luck. what should i include to make main_app work?

apotonick commented 7 years ago

This issue must be raised in cells-rails, because cells has nothing to do with Rails.