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
7d1f3586
Unverified
Commit
7d1f3586
authored
Sep 13, 2018
by
Zane Wolfgang Pickett
Committed by
GitHub
Sep 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace obsolete URI.unescape with CGI.unescape
parent
acbb03f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
MIGRATING.md
+1
-1
No files found.
MIGRATING.md
View file @
7d1f3586
...
...
@@ -260,7 +260,7 @@ namespace :organizations do
# don't have an explicit file extension in the filename
image
=
organization
.
logo_file_name
ext
=
File
.
extname
(
image
)
image_original
=
UR
I
.
unescape
(
image
.
gsub
(
ext
,
"_original
#{
ext
}
"
))
image_original
=
CG
I
.
unescape
(
image
.
gsub
(
ext
,
"_original
#{
ext
}
"
))
# this url pattern can be changed to reflect whatever service you use
logo_url
=
"https://s3.amazonaws.com/xxxxx/organizations/
#{
organization
.
id
}
/
#{
image_original
}
"
...
...
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