Skip to content

Commit

Permalink
Fixing some issues - due primarily to conflict with the profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
joecwallace committed Aug 27, 2012
1 parent 160d562 commit 4f6745b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions routes.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
<?php

Route::get('(:bundle)/rejigger.js', array('as' => 'rejigger_js', function()
{
return View::make('rejigger::js');
}));

Route::get('(:bundle)/version', array('as' => 'rejigger_version', function()
{
// Don't let the controller mistake this for a regular AJAX call
Expand Down
2 changes: 1 addition & 1 deletion start.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
if (! (Request::route()->is('rejigger_js') || Request::route()->is('rejigger_version')))
{
echo HTML::script(URL::to_route('rejigger_js'));
echo '<script type="text/javascript">' . View::make('rejigger::js') . '</script>';
}
});
}

0 comments on commit 4f6745b

Please sign in to comment.