Revert "Merge remote branch 't0m/json' into json"
[catagits/Gitalist.git] / lib / Gitalist / Controller / Root.pm
index eb6a147..14ef8ee 100644 (file)
@@ -76,18 +76,6 @@ sub error_404 : Action {
     $c->response->body('Page not found');
 }
 
-__PACKAGE__->config(
-    default => 'text/html',
-    map => {
-        'application/json' => [qw/ JSON /],
-        map { $_ => [qw/ View Default /] }
-            qw( text/css text/html text/plain
-                application/atom+xml application/rss+xml 
-                application/rss application/xml )
-
-    }
-);
-
 __PACKAGE__->meta->make_immutable;
 
 __END__