X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/4b33f145c7966710e537531261e04d2596159049..d08b6d8dbb82ea41d9a72f7d96b894f43bd6c002:/redmine/redmine_publications/routes.rb diff --git a/redmine/redmine_publications/routes.rb b/redmine/redmine_publications/routes.rb index bdca2b83..d1cf0579 100644 --- a/redmine/redmine_publications/routes.rb +++ b/redmine/redmine_publications/routes.rb @@ -1,10 +1,13 @@ -connect 'publications/:pub', +connect 'publications/:action', :controller => 'publications', - :action => 'redirect_to_platform' + :format => 'html' + +connect 'publications/:action.:format', + :controller => 'publications' -connect 'publications/:pub/:action', +connect 'publications/:action/:pub', :controller => 'publications', :format => 'html' -connect 'publications/:pub/:action.:format', +connect 'publications/:action/:pub.:format', :controller => 'publications'