RSS Feed/News Optional route prefix

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,666
Points
823

Reputation:

I'm hoping this is my last question for awhile, really apologize for all the questions.

I have two URLs:
https://example.com/note/1/section/1/entry/new
and
https://example.com/note/entry/1/edit

Right now my route filter is: :int<note_id>/section/:int<section_id>/entry/:int<entry_id>

This works well for the first URL where I need details of the note and section, but for the second url, where that information is now redundant since entry is a unique identifier, I'm unable...

Read more

Continue reading...
 
Status
Not open for further replies.
Top