Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
f2e0e698
Commit
f2e0e698
authored
May 10, 2009
by
Jon Yurek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed whiny_thumbnails in place of whiny
parent
5730418b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
lib/paperclip.rb
+1
-1
lib/paperclip/attachment.rb
+2
-2
No files found.
lib/paperclip.rb
View file @
f2e0e698
...
@@ -58,7 +58,7 @@ module Paperclip
...
@@ -58,7 +58,7 @@ module Paperclip
# * image_magick_path: Deprecated alias of command_path.
# * image_magick_path: Deprecated alias of command_path.
def
options
def
options
@options
||=
{
@options
||=
{
:whiny
_thumbnails
=>
true
,
:whiny
=>
true
,
:image_magick_path
=>
nil
,
:image_magick_path
=>
nil
,
:command_path
=>
nil
,
:command_path
=>
nil
,
:log
=>
true
,
:log
=>
true
,
...
...
lib/paperclip/attachment.rb
View file @
f2e0e698
...
@@ -12,7 +12,8 @@ module Paperclip
...
@@ -12,7 +12,8 @@ module Paperclip
:default_url
=>
"/:attachment/:style/missing.png"
,
:default_url
=>
"/:attachment/:style/missing.png"
,
:default_style
=>
:original
,
:default_style
=>
:original
,
:validations
=>
[],
:validations
=>
[],
:storage
=>
:filesystem
:storage
=>
:filesystem
,
:whiny
=>
Paperclip
.
options
[
:whiny
]
||
Paperclip
.
options
[
:whiny_thumbnails
]
}
}
end
end
...
@@ -38,7 +39,6 @@ module Paperclip
...
@@ -38,7 +39,6 @@ module Paperclip
@default_style
=
options
[
:default_style
]
@default_style
=
options
[
:default_style
]
@storage
=
options
[
:storage
]
@storage
=
options
[
:storage
]
@whiny
=
options
[
:whiny_thumbnails
]
||
options
[
:whiny
]
@whiny
=
options
[
:whiny_thumbnails
]
||
options
[
:whiny
]
@whiny
=
true
unless
@whiny
==
false
# default to true if nil
@convert_options
=
options
[
:convert_options
]
||
{}
@convert_options
=
options
[
:convert_options
]
||
{}
@processors
=
options
[
:processors
]
||
[
:thumbnail
]
@processors
=
options
[
:processors
]
||
[
:thumbnail
]
@options
=
options
@options
=
options
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment