diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-28 17:09:45 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-28 17:09:45 -0700 |
commit | df37b5ce70318bbd3e6b39a6e2d671d6e1ca7bf0 (patch) | |
tree | 550f686b243b782e43c4c4aa904deb7648a6721e /modules/gallery | |
parent | 9bdc84733de3786652004f083cade989c00c5240 (diff) | |
parent | d90e30c37881d4e715b2c798046830242e382d1c (diff) |
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/controllers/combined.php (renamed from modules/gallery/controllers/javascript.php) | 4 | ||||
-rw-r--r-- | modules/gallery/libraries/Theme_View.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/controllers/javascript.php b/modules/gallery/controllers/combined.php index ba5cbf4b..510482db 100644 --- a/modules/gallery/controllers/javascript.php +++ b/modules/gallery/controllers/combined.php @@ -17,8 +17,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -class Javascript_Controller extends Controller { - public function combined($key) { +class Combined_Controller extends Controller { + public function javascript($key) { if (preg_match('/[^0-9a-f]/', $key)) { // The key can't contain non-hex, so just terminate early Kohana::show_404(); diff --git a/modules/gallery/libraries/Theme_View.php b/modules/gallery/libraries/Theme_View.php index c3acfeb3..25818821 100644 --- a/modules/gallery/libraries/Theme_View.php +++ b/modules/gallery/libraries/Theme_View.php @@ -207,7 +207,7 @@ class Theme_View_Core extends View { } // Handcraft the script link because html::script will add a .js extenstion - return "<script type=\"text/javascript\" src=\"" . url::site("javascript/combined/$key") . + return "<script type=\"text/javascript\" src=\"" . url::site("combined/javascript/$key") . "\"></script>"; } |