Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
d85b8896
Commit
d85b8896
authored
May 04, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused mime_types
parent
9243b6d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
config/initializers/mime_types.rb
config/initializers/mime_types.rb
+0
-7
No files found.
config/initializers/mime_types.rb
View file @
d85b8896
...
@@ -8,10 +8,3 @@ Mime::Type.register_alias "text/plain", :diff
...
@@ -8,10 +8,3 @@ Mime::Type.register_alias "text/plain", :diff
Mime
::
Type
.
register_alias
"text/plain"
,
:patch
Mime
::
Type
.
register_alias
"text/plain"
,
:patch
Mime
::
Type
.
register_alias
'text/html'
,
:markdown
Mime
::
Type
.
register_alias
'text/html'
,
:markdown
Mime
::
Type
.
register_alias
'text/html'
,
:md
Mime
::
Type
.
register_alias
'text/html'
,
:md
#Mime::Type.unregister :json
Mime
::
Type
.
register_alias
'application/vnd.docker.distribution.manifest.v1+prettyjws'
,
:json
#Mime::Type.register 'application/json', :json, %w( text/plain text/x-json application/jsonrequest )
ActionDispatch
::
ParamsParser
::
DEFAULT_PARSERS
[
Mime
::
Type
.
lookup
(
'application/vnd.docker.distribution.manifest.v1+prettyjws'
)]
=
lambda
do
|
body
|
JSON
.
parse
(
body
)
end
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