Changeset 316 for server/trunk/web/lib/Sophie/Controller/Root.pm
- Timestamp:
- 01/16/11 19:09:27 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Root.pm
r274 r316 50 50 exists($c->req->params ->{ajax})) { 51 51 $c->stash->{current_view} = 'Ajax'; 52 }53 54 if ($c->action =~ m/^admin\//) {55 if (!($c->user_exists && $c->check_user_roles($c->user, 'Admin'))) {56 $c->go('/login/index');57 }58 52 } 59 53
Note: See TracChangeset
for help on using the changeset viewer.