You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a blog, and you're going to /blog/:id.
The result can be NotFound or Found.
The BlogResponder will have 2 layouts, default and notFound.
The default layout needs the data for: main_menu, footer_menu
The not found layout needs the data for: main_menu, recent_searches
Currently I don't know how to provide this different data properly, because the Responder is the only one that knows which layout will be picked and is not allowed to query the domain.
The text was updated successfully, but these errors were encountered:
I believe there is some understanding between the domain and the view.
We could not expect the view knows everything, or if we are trying to fetch some data then probably it can be from a js via ajax once it is rendered ;) .
If you have a blog, and you're going to
/blog/:id.The result can be NotFound or Found.
The BlogResponder will have 2 layouts,
defaultandnotFound.The default layout needs the data for:
main_menu,footer_menuThe not found layout needs the data for:
main_menu,recent_searchesCurrently I don't know how to provide this different data properly, because the Responder is the only one that knows which layout will be picked and is not allowed to query the domain.
The text was updated successfully, but these errors were encountered: