TIP: Use Markdown or, <pre> for multi line code blocks / <code> for inline code.
These forums are read-only and for archival purposes only!
Please join our new forums at discourse.kohanaframework.org
Route for two actions within the same controller
  • I am trying to set a route for 2 different actions within the same controller, but mu goal is to have the same url (not altered with the action name). eg http://localhost/record

    Is there a clear way how to do it? I was playing around with params and actions, while setting up the route, but I cannot figure it out.


  • How would you have one uri go to two actions? That doesn't make any sense.

  • I was thinking to mask it. So instead of page/action and page/action_two just display page.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion