:controller => 'publications'
connect 'publications/:action/:pub',
- :controller => 'publications',
- :format => 'html'
-
-connect 'publications/:action/:pub.:format',
- :controller => 'publications'
+ :controller => 'publications', :format => 'json',
+ :pub => /[^\/?]+/