X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d154270c884fe196fb56fa3123183c3408a45ecc..07b09d489ecbc789a096e53d98070c286c286101:/redmine/redmine_publications/routes.rb?ds=sidebyside 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 => /[^\/?]+/