BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
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