public static function model($key, $class, $callback = null) { \Illuminate\Routing\Router::model($key, $class, $callback); }
/** * Render view. * * @return string */ public function content() { ob_start(); foreach ($this->_group_by_city() as $city => $venues) { ?> <article> <header> <h4><?php echo HTML::chars($city); ?> </h4> </header> <ul class="unstyled block-grid two-up"> <?php foreach ($venues as $venue) { ?> <li><?php echo HTML::anchor(Route::model($venue), HTML::chars($venue->name)); ?> </li> <?php } ?> </ul> </article> <?php } return ob_get_clean(); }