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
878622c9
Commit
878622c9
authored
Jun 30, 2012
by
Brandon Wright
Committed by
Prem Sichanugrist
Jul 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update default path documentation
Now it includes :class and :id_partition
parent
cf8f76d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
README.md
+2
-2
No files found.
README.md
View file @
878622c9
...
@@ -277,8 +277,8 @@ gems along side with Paperclip:
...
@@ -277,8 +277,8 @@ gems along side with Paperclip:
The files that are assigned as attachments are, by default, placed in the
The files that are assigned as attachments are, by default, placed in the
directory specified by the
`:path`
option to
`has_attached_file`
. By default, this
directory specified by the
`:path`
option to
`has_attached_file`
. By default, this
location is
`:rails_root/public/system/:
attachment/:id/:style/:filename`
. This
location is
`:rails_root/public/system/:
class/:attachment/:id_partition/:style/:filename`
.
location was chosen because on standard Capistrano deployments, the
This
location was chosen because on standard Capistrano deployments, the
`public/system`
directory is symlinked to the app's shared directory, meaning it
`public/system`
directory is symlinked to the app's shared directory, meaning it
will survive between deployments. For example, using that
`:path`
, you may have a
will survive between deployments. For example, using that
`:path`
, you may have a
file at
file at
...
...
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