fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Poprawienie URLi w galerii.
[redakcja.git]
/
redmine
/
redmine_publications
/
routes.rb
diff --git
a/redmine/redmine_publications/routes.rb
b/redmine/redmine_publications/routes.rb
index
bdca2b8
..
8752c69
100644
(file)
--- a/
redmine/redmine_publications/routes.rb
+++ b/
redmine/redmine_publications/routes.rb
@@
-1,10
+1,10
@@
-connect 'publications/:pub',
- :controller => 'publications',
- :action => 'redirect_to_platform'
-
-connect 'publications/:pub/:action',
+connect 'publications/:action',
:controller => 'publications',
:format => 'html'
:controller => 'publications',
:format => 'html'
-
-connect 'publications/:
pub/:action.:format',
+
+connect 'publications/:
action.:format',
:controller => 'publications'
:controller => 'publications'
+
+connect 'publications/:action/:pub',
+ :controller => 'publications', :format => 'json',
+ :pub => /[^\/?]+/