Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

0.9.1 - Update for paperclipped Asset model method call for thumbnails #8

Open
wants to merge 1 commit into from

2 participants

@sgerrand

I've updated the method call on the paperclipped extension used by the controller

@simonthesorcerer

worked for me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 10, 2010
  1. - Updated method call on Asset model for thumbnails

    Sasha Gerrand authored
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/controllers/admin/tiny_paper_controller.rb
View
4 app/controllers/admin/tiny_paper_controller.rb
@@ -8,7 +8,7 @@ def images
filter_by_params([:view, :size])
list_params[:images] = 'images'
@assets = Asset.assets_paginate(list_params)
- @thumbnails = Asset.attachment_definitions[:asset][:styles]
+ @thumbnails = Asset.thumbnail_definitions
respond_to do |f|
f.html { render }
@@ -84,4 +84,4 @@ def attach_js_css
include_javascript "tiny_mce/tiny_mce_popup"
include_javascript "admin/tiny_paper"
end
-end
+end
Something went wrong with that request. Please try again.