Skip to content

Commit

Permalink
fixed unanchored add routes and added delete routes
Browse files Browse the repository at this point in the history
  • Loading branch information
David Zülke committed Oct 7, 2008
1 parent 7014008 commit c1d4aa1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions app/config/routing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,32 +23,35 @@
<route name=".claim" pattern="^/claim$" action="Claim" />
<!-- <route name=".contributors" pattern"^/contributors" action="Contributors">
<route name=".index" pattern="^$" action=".Index" />
<route name=".add" pattern="^/add" action=".Add" />
<route name=".add" pattern="^/add$" action=".Add" />
<route name=".contributor" pattern="^/(id:\d+)" action=".Contributor">
<route name=".view" pattern="^$" action=".View" />
<route name=".edit" pattern="^/edit$" action=".Edit" />
<route name=".delete" pattern="^/delete$" action=".Delete" />
</route>
</route> -->
<route name=".contributor" pattern="^/contributor(/{id:\d+})?">
<route name=".edit" pattern="^/edit$" action="ContributorEdit" />
</route>
<!-- <route name=".links" pattern="^/links" action="Links">
<route name=".index" pattern="^$" action=".Index" />
<route name=".add" pattern="^/add" action=".Add" />
<route name=".add" pattern="^/add$" action=".Add" />
<route name=".link" pattern="^/(id:\d+)" action=".Link">
<route name=".view" pattern="^$" action=".View" />
<route name=".edit" pattern="^/edit$" action=".Edit" />
<route name=".delete" pattern="^/delete$" action=".Delete" />
</route>
</route> -->
<route name=".link" pattern="^/link(/{id:\d+})?">
<route name=".edit" pattern="^/edit$" action="LinkEdit" />
</route>
<!-- <route name=".releases" pattern="^/releases" action="Releases">
<route name=".index" pattern="^$" action=".Index" />
<route name=".add" pattern="^/add" action=".Add" />
<route name=".add" pattern="^/add$" action=".Add" />
<route name=".release" pattern="^/(id:\d+)" action=".Release">
<route name=".view" pattern="^$" action=".View" />
<route name=".edit" pattern="^/edit$" action=".Edit" />
<route name=".delete" pattern="^/delete$" action=".Delete" />
</route>
</route> -->
<route name=".release" pattern="^/release(/{id:\d+})?">
Expand Down

0 comments on commit c1d4aa1

Please sign in to comment.