X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/adbf44aae48c2a84efaf214b2541dc44f962ae44..653c75b6951e028fe4c68e27cc9852e45fa418a6:/redmine/redmine_publications/routes.rb?ds=inline 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'