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