Permalink
Browse files

Set show as default for package controller

prevent   getsparks.org/packages/pack_name/    to get 404 error
  • Loading branch information...
1 parent d7a000c commit f345bb5ae850937b1ebb220ad73cc30af3f15217 @amad committed Apr 5, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 application/config/routes.php
@@ -14,6 +14,7 @@
$route['packages/(:any)/versions/(:any)/disable'] = "packages/disable/$1/$2";
$route['packages/(:any)/show'] = "packages/show/$1";
$route['packages/(:any)/edit'] = "packages/edit/$1";
+$route['packages/(:any)'] = "packages/show/$1";
$route['packages/add'] = "packages/add";
$route['packages/summary'] = "packages/summary";
$route['packages/search'] = "packages/search";

0 comments on commit f345bb5

Please sign in to comment.