routes.php 303 B

123456789101112131415
  1. <?php
  2. View::composer('docs::template', function($view)
  3. {
  4. Asset::add('stylesheet', 'css/style.css');
  5. Asset::add('modernizr', 'js/modernizr-2.5.3.min.js');
  6. Asset::container('footer')->add('prettify', 'js/prettify.js');
  7. });
  8. Route::get('(:bundle)', function()
  9. {
  10. return View::make('docs::home');
  11. });