summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-03 18:22:20 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-03 18:22:20 +0200
commit1491aadbbac3079057cd5a5c8a50610be44cc865 (patch)
tree9d5131659f7fff04c1c7af42a51d778049901241
parent3789a7943761c1d0995bf2ec199c588c69d41699 (diff)
Restore public tags path under global scope
-rw-r--r--config/routes.rb2
-rw-r--r--public/javascripts/admin_interface.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/routes.rb b/config/routes.rb
index fe38d6d7..a43769e6 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -27,7 +27,6 @@ Cccms::Application.routes.draw do
27 scope '/admin' do 27 scope '/admin' do
28 resources :events 28 resources :events
29 resources :assets 29 resources :assets
30 resources :tags
31 30
32 resources :nodes do 31 resources :nodes do
33 collection do 32 collection do
@@ -114,6 +113,7 @@ Cccms::Application.routes.draw do
114 post :renew 113 post :renew
115 end 114 end
116 115
116 resources :tags
117 resource :session 117 resource :session
118 118
119 get 'rss/updates', :to => 'rss#updates', :as => :rss, :defaults => { :format => :xml } 119 get 'rss/updates', :to => 'rss#updates', :as => :rss, :defaults => { :format => :xml }
diff --git a/public/javascripts/admin_interface.js b/public/javascripts/admin_interface.js
index 384f48c6..67bfb8fc 100644
--- a/public/javascripts/admin_interface.js
+++ b/public/javascripts/admin_interface.js
@@ -393,7 +393,7 @@ menu_item_sorter = {
393 stop : function(){ 393 stop : function(){
394 $.ajax({ 394 $.ajax({
395 type: "POST", 395 type: "POST",
396 url: "/menu_items/0/sort", 396 url: "/admin/menu_items/0/sort",
397 data: $(this).sortable("serialize"), 397 data: $(this).sortable("serialize"),
398 success : function() { 398 success : function() {
399 // The controller answers head :ok, so there is nothing to parse 399 // The controller answers head :ok, so there is nothing to parse