X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d940e6b2345b50ffbd50bbe5f508f6d4ff4e0054..a3a778ec7c2fe89c4cb48f42be3b0821530199d8:/redmine/redmine_publications/routes.rb?ds=inline diff --git a/redmine/redmine_publications/routes.rb b/redmine/redmine_publications/routes.rb index d1cf0579..8752c692 100644 --- a/redmine/redmine_publications/routes.rb +++ b/redmine/redmine_publications/routes.rb @@ -6,8 +6,5 @@ connect 'publications/:action.:format', :controller => 'publications' connect 'publications/:action/:pub', - :controller => 'publications', - :format => 'html' - -connect 'publications/:action/:pub.:format', - :controller => 'publications' + :controller => 'publications', :format => 'json', + :pub => /[^\/?]+/