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
e9f825a5
Commit
e9f825a5
authored
May 31, 2012
by
Mike Burns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-write to remove an if surprise
parent
1ded077b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
lib/paperclip/railtie.rb
+4
-1
No files found.
lib/paperclip/railtie.rb
View file @
e9f825a5
...
...
@@ -9,7 +9,10 @@ module Paperclip
ActiveSupport
.
on_load
:active_record
do
Paperclip
::
Railtie
.
insert
end
Paperclip
::
Attachment
.
default_options
.
merge!
(
app
.
config
.
paperclip_defaults
)
if
app
.
config
.
respond_to?
(
:paperclip_defaults
)
if
app
.
config
.
respond_to?
(
:paperclip_defaults
)
Paperclip
::
Attachment
.
default_options
.
merge!
(
app
.
config
.
paperclip_defaults
)
end
end
rake_tasks
{
load
"tasks/paperclip.rake"
}
...
...
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