Skip to content
Browse files

Fixed links to canvas viewer in Facebook App

  • Loading branch information...
1 parent 7643e20 commit 291053d0c0143d32889bceabe8bd964593c64c5a @cr0t committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/views/canvas/index.html.erb
View
4 app/views/canvas/index.html.erb
@@ -5,7 +5,7 @@
<div id="own-books">
<% @own_books.each do |book| %>
<div class="book-thumb">
- <%= link_to image_tag(thumbnail_url(book), :height => 105), "/simpleviewer/#{book.id}/1" %>
+ <%= link_to image_tag(thumbnail_url(book), :height => 105), canvas_viewer_path(upload.id) %>
</div>
<% end %>
<br clear="all"/>
@@ -19,7 +19,7 @@
<div id="public-books">
<% @public_books.each do |book| %>
<div class="book-thumb">
- <%= link_to image_tag(thumbnail_url(book), :height => 105), "/simpleviewer/#{book.id}/1" %>
+ <%= link_to image_tag(thumbnail_url(book), :height => 105), canvas_viewer_path(upload.id) %>
</div>
<% end %>
<br clear="all"/>

0 comments on commit 291053d

Please sign in to comment.
Something went wrong with that request. Please try again.