Permalink
Browse files

zoom image

  • Loading branch information...
1 parent f97896c commit 181dea7a82ed5d242e5f908064f13d39e34cb0be @barthezslavik committed Dec 22, 2012
@@ -13,8 +13,8 @@
//= require jquery
//= require jquery_ujs
//= require jquery-fileupload/basic
-//= require_tree .
//= require wiselinks
+//= require_tree .
$(document).ready(function() {
window.wiselinks = new Wiselinks();
@@ -4,6 +4,7 @@
<title>Solution</title>
<%= stylesheet_link_tag "application", :media => "all" %>
<%= javascript_include_tag "application" %>
+ <%= javascript_include_tag "http://gettopup.com/releases/latest/top_up-min.js" %>
<%= csrf_meta_tags %>
</head>
<body>
@@ -3,8 +3,8 @@
%h2= @sample.name
%pre= @sample.description
- if @sample.screenshot_file_name?
- =image_tag @sample.screenshot.url(:large)
- =image_tag @sample.screenshot.url
+ =link_to image_tag(@sample.screenshot.url :large), @sample.screenshot.url
+
/= link_to 'Edit', edit_sample_path(@sample)
/= link_to 'Back', samples_path

0 comments on commit 181dea7

Please sign in to comment.