httpit 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/bin/httpit +2 -1
- data/httpit.gemspec +1 -1
- data/views/listing.haml +2 -2
- metadata +1 -1
data/Gemfile.lock
CHANGED
data/bin/httpit
CHANGED
data/httpit.gemspec
CHANGED
data/views/listing.haml
CHANGED
@@ -55,8 +55,8 @@
|
|
55
55
|
%a{:href => file_url(@path, file[0])}= file[0]
|
56
56
|
|
57
57
|
- if %w{.jpg .jpeg .png .gif}.include?(File.extname(file[0]).downcase)
|
58
|
-
%a{:href => "/__img_preview?file=#{@path
|
58
|
+
%a{:href => "/__img_preview?file=#{file_url(@path, file[0])}", :class => "preview_link"} #1024
|
59
59
|
- if file[2]
|
60
|
-
%a{:href => "/__view?file=#{@path
|
60
|
+
%a{:href => "/__view?file=#{file_url(@path, file[0])}", :class => "preview_link"} view
|
61
61
|
|
62
62
|
%script{:type => "text/javascript"}= GEM_ROOT.join('views/utils.js').read
|