Skip to content

Commit

Permalink
Rename the combined javascript controller from javascript/combined to…
Browse files Browse the repository at this point in the history
… combined/javascript.
  • Loading branch information
Tim Almdal committed Jun 29, 2009
1 parent bf79d43 commit d90e30c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion modules/gallery/libraries/Theme_View.php
Expand Up @@ -207,7 +207,7 @@ private function _combine_script() {
}

// 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>";
}

Expand Down

0 comments on commit d90e30c

Please sign in to comment.