Changeset 17 for server/trunk/web/lib/Sophie/Controller/Root.pm
- Timestamp:
- 11/22/10 12:54:02 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/lib/Sophie/Controller/Root.pm
r16 r17 25 25 sub begin : Private { 26 26 my ( $self, $c ) = @_; 27 28 if ($c->req->path =~ m:[^/]+\/$:) { 29 my $path = $c->req->path; 30 $path =~ s:/*$::; 31 $c->res->redirect($c->uri_for("/$path")); 32 return; 33 } 27 34 28 35 if (($c->req->query_keywords || '') =~ /([^\w]|^)json([^\w]|$)/ || … … 80 87 } elsif (!$c->stash->{current_view}) { 81 88 } 82 $c->stash->{ $c->action} = $c->stash->{xmlrpc};89 $c->stash->{data} = $c->stash->{xmlrpc}; 83 90 $c->model('Base')->storage->dbh->rollback; 84 91 }
Note: See TracChangeset
for help on using the changeset viewer.