[gallery/gallery3] c88546: Add routing for items.
GitHub <noreply-9UaJU3cA/F/[email protected]>
| Newsgroups | gmane.comp.web.gallery.cvs |
|---|---|
| Message-ID | <5167c0d23496b_6629de812c425a@hookshot-fe6-pe1-prd.aws.github.net.mail> |
Branch: refs/heads/kohana_3
Home: https://github.com/gallery/gallery3
Commit: c8854636f43ba38b67cbc452d0f1c22e27d9a7ee
https://github.com/gallery/gallery3/commit/c8854636f43ba38b67cbc452d0f1c22e27d9a7ee
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-12 (Fri, 12 Apr 2013)
Changed paths:
M application/bootstrap.php
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Movies.php
M modules/gallery/classes/Gallery/Controller/Photos.php
Log Message:
-----------
Add routing for items.
- make the controller name required for the fourth case (i.e. no default).
- add fifth case to routes in bootstrap for items.
- make an empty url point to the root item, but an invalid url throws an error.
- revert back to using action_show() in Photos, Albums, and Movies controllers.
- revise action_show() to get item model from request.
- remove Albums controller action_index().
Commit: 58c1f3590787a187f9c669fbe6bf39e82201c0a8
https://github.com/gallery/gallery3/commit/58c1f3590787a187f9c669fbe6bf39e82201c0a8
Author: shadlaws <shad-xpYdmXCiSuZWk0Htik3J/[email protected]>
Date: 2013-04-12 (Fri, 12 Apr 2013)
Changed paths:
M application/bootstrap.php
M modules/gallery/classes/Gallery/Controller/Albums.php
M modules/gallery/classes/Gallery/Controller/Movies.php
M modules/gallery/classes/Gallery/Controller/Photos.php
Log Message:
-----------
Merge pull request #288 from shadlaws/item_routing
Add routing for items.
Compare: https://github.com/gallery/gallery3/compare/782124886b51...58c1f3590787
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
__[ g a l l e r y - c h e c k i n s ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]