Skip to content

Commit

Permalink
The html helpers no longer forces .js and .css suffixes to urls it ge…
Browse files Browse the repository at this point in the history
…nerates (yay!)
  • Loading branch information
bharat committed Nov 26, 2009
1 parent 7eacc46 commit 60c20b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/gallery/controllers/combined.php
Expand Up @@ -22,15 +22,13 @@ class Combined_Controller extends Controller {
* Return the combined Javascript bundle associated with the given key.
*/
public function javascript($key) {
$key = substr($key, 0, strlen($key) - 3); // strip off the trailing .js
return $this->_emit("javascript", $key);
}

/**
* Return the combined CSS bundle associated with the given key.
*/
public function css($key) {
$key = substr($key, 0, strlen($key) - 4); // strip off the trailing .css
return $this->_emit("css", $key);
}

Expand Down

0 comments on commit 60c20b0

Please sign in to comment.