From 5c74595a3d60710a7ad53db7b7cf94019073a7e5 Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Mon, 14 Jan 2008 21:22:04 +0000 Subject: [PATCH] ActionItem121: changed the name of the default environment to anhentegua in the anhentegua script and added an icon thumbnail to the image model --- app/models/image.rb | 2 +- script/anhetegua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/image.rb b/app/models/image.rb index 1cde1eb..df00aa8 100644 --- a/app/models/image.rb +++ b/app/models/image.rb @@ -5,7 +5,7 @@ class Image < ActiveRecord::Base :storage => :file_system, :max_size => 500.kilobytes, :resize_to => '320x200>', - :thumbnails => { :thumb => '100x100>', :minor => '64x64>', :portrait => 'x95' } + :thumbnails => { :thumb => '100x100>', :minor => '64x64>', :portrait => 'x95' , :icon => '20x20'} validates_as_attachment end diff --git a/script/anhetegua b/script/anhetegua index fbd5fbc..0c5e77d 100755 --- a/script/anhetegua +++ b/script/anhetegua @@ -36,7 +36,7 @@ def new_member(org, person) org.affiliate() end -Environment.create!(:name => 'Economia Solidária', :is_default => true) +Environment.create!(:name => 'Anheteguá', :is_default => true) tematicas = new_category(nil, 'Temáticas', 1) new_category(tematicas, 'Finanças Solidárias') -- libgit2 0.21.2