Skip to content

Commit

Permalink
Undo last 2 commits, first bug in 2016 :)
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Jan 2, 2016
1 parent 14431ac commit dc0850b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions core/kumbia/kumbia_view.php
Expand Up @@ -73,18 +73,6 @@ class KumbiaView
* @var Controller
*/
protected static $_controller;

/**
* View() alias de View::select()
*
*
* @param string $view nombre del view a utilizar sin .phtml
* @param string $template opcional nombre del template a utilizar sin .phtml
*/
public function __invoke($view, $template = FALSE)
{
self::select($view, $template);
}

/**
* Cambia el view y opcionalmente el template
Expand Down
12 changes: 0 additions & 12 deletions core/libs/redirect/redirect.php
Expand Up @@ -26,18 +26,6 @@
*/
class Redirect
{
/**
* Redirect() alias de Redirect::to()
*
*
* @param string $route ruta a la que será redirigida la petición.
* @param integer $seconds segundos que se esperarán antes de redirigir
* @param integer $statusCode código http de la respuesta, por defecto 302
*/
public function __invoke($route = '', $seconds = 0, $statusCode = 302)
{
self::to($route, $seconds, $statusCode);
}

/**
* Redirecciona la ejecución a otro controlador en un
Expand Down

0 comments on commit dc0850b

Please sign in to comment.