soda-framework/cms

Session not available when searching Page by slug

Closed this issue · 0 comments

ryzr commented

As session is not available, draft mode status cannot be determined. Instead, we will need to have the slug route within a web middleware.

Steps:

  • Generate session on slug route
  • Before aborting, reflash session data
  • Reflash may need to take place when re-routing with the Controller action?