Skip to content

Commit

Permalink
nao temos nada no index publico, pois nao temos area nao autenticada...
Browse files Browse the repository at this point in the history
  • Loading branch information
ruoso committed Jul 8, 2010
1 parent d039125 commit a3e0b13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 5 additions & 1 deletion lib/Catalogo/Controller/Root.pm
Expand Up @@ -8,7 +8,11 @@ __PACKAGE__->config(namespace => '');

sub base :Chained('/') :CaptureArgs(0) :PathPart('') {}

sub index :Chained('base') :Args(0) :PathPart('') {}
sub index :Chained('base') :Args(0) :PathPart('') {
my ($self, $c ) = @_;
# nada para ver aqui... só temos área autenticada, por enquanto...
$c->res->redirect($c->uri_for_action('/auth/index'));
}

sub default :Chained('base') :Args :PathPart('') {
my ( $self, $c ) = @_;
Expand Down
5 changes: 0 additions & 5 deletions root/index.tt

This file was deleted.

0 comments on commit a3e0b13

Please sign in to comment.