Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBenjamin Neff <benjamin@coding4coffee.ch>2022-07-10 01:13:31 +0300
committerBenjamin Neff <benjamin@coding4coffee.ch>2022-07-20 22:26:40 +0300
commit429aa8f374f33cffac07ece1a79cfe771a570c02 (patch)
treeaca852ab9c89c264a22a8569cd00bf11175796f6 /lib
parent0382cb48c15e48ea74397b5082541b1a4fbf1cc8 (diff)
Upgrade to sprockets 4
Diffstat (limited to 'lib')
-rw-r--r--lib/bookmarklet_renderer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bookmarklet_renderer.rb b/lib/bookmarklet_renderer.rb
index a8e998a73..d15fb7261 100644
--- a/lib/bookmarklet_renderer.rb
+++ b/lib/bookmarklet_renderer.rb
@@ -16,7 +16,7 @@ class BookmarkletRenderer
end
def source
- @source ||= Rails.application.assets["bookmarklet.js"].pathname.to_s
+ @source ||= Rails.application.assets["bookmarklet.js"].filename
end
def body