Changeset 4 for web/trunk/lib/Sophie/Controller/Root.pm
- Timestamp:
- 11/13/10 19:33:41 (14 years ago)
- Location:
- web
- Files:
-
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
web/trunk/lib/Sophie/Controller/Root.pm
r3 r4 29 29 $c->stash->{current_view} = 'Json'; 30 30 } 31 32 if ($c->action =~ m/^admin\//) { 33 if (!$c->user_exists) { 34 $c->res->redirect($c->uri_for('/login')); 35 } 36 } 31 37 } 32 38 … … 41 47 42 48 # Hello World 43 $c->forward($c->view('Global'));44 #$c->response->body( $c->welcome_message );45 49 } 46 50
Note: See TracChangeset
for help on using the changeset viewer.