Open mtnstar opened 2 months ago
:+1: I like the idea. The term core
is not established in wagons, I suggest to name the method render_app_partial
. If absolute paths could be used with render
, I would prefer them instead of messing with instance variables of the lookup context.
would it make sense adding this view helper to this gem?
in hitobito we do have now a view helper for explicit render of a core partial:
core/app/helpers/wagon_helper.rb
use case
let's say you want to customize a certain partial in a wagon, but then inside this partial want to fallback to the core's definition.
$wagon/app/views/roles/_fields.html.haml