summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-24 16:17:16 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-24 16:17:16 +0200
commit75670df5b8a5700c48ac8cb41f8d1732b5738402 (patch)
tree0611ab89cd9fa6aa5c1c7cc44df28de4388c608e /lib
parent61dc69cc5d8089ed9f96bc65dc64de6e075f70cf (diff)
Fix tagged content aggregator, assets path, and add regression tests
- Replace tagged_with calls in Page.aggregate, TagsController, RssController with direct SQL joins (acts-as-taggable-on 3.5 broken on Rails 3.2) - Fix Paperclip :path/:url to use plain :id format matching existing uploads - Add proper regression tests for aggregator, tags, and rss controllers - Fix assert_select assertions to target div.body div.article_partial
Diffstat (limited to 'lib')
-rw-r--r--lib/authenticated_system.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticated_system.rb b/lib/authenticated_system.rb
index 838b734..217f79e 100644
--- a/lib/authenticated_system.rb
+++ b/lib/authenticated_system.rb
@@ -74,7 +74,7 @@ module AuthenticatedSystem
74 # 74 #
75 # We can return to this location by calling #redirect_back_or_default. 75 # We can return to this location by calling #redirect_back_or_default.
76 def store_location 76 def store_location
77 session[:return_to] = request.request_uri 77 session[:return_to] = request.fullpath
78 end 78 end
79 79
80 # Redirect to the URI stored by the most recent store_location call or 80 # Redirect to the URI stored by the most recent store_location call or