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
Tatuya Kamada
gitlab-ce
Commits
c83bbfa7
Commit
c83bbfa7
authored
Jun 24, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable rack profiler by default
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
b8af2ecc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
app/assets/stylesheets/generic/common.scss
app/assets/stylesheets/generic/common.scss
+9
-0
config/initializers/6_rack_profiler.rb
config/initializers/6_rack_profiler.rb
+1
-1
No files found.
app/assets/stylesheets/generic/common.scss
View file @
c83bbfa7
...
@@ -364,3 +364,12 @@ table {
...
@@ -364,3 +364,12 @@ table {
margin-top
:
8px
;
margin-top
:
8px
;
}
}
}
}
.profiler-results
{
top
:
50px
!
important
;
.profiler-button
,
.profiler-controls
{
border-color
:
#EEE
!
important
;
}
}
config/initializers/6_rack_profiler.rb
View file @
c83bbfa7
...
@@ -5,6 +5,6 @@ if Rails.env.development?
...
@@ -5,6 +5,6 @@ if Rails.env.development?
Rack
::
MiniProfilerRails
.
initialize!
(
Rails
.
application
)
Rack
::
MiniProfilerRails
.
initialize!
(
Rails
.
application
)
Rack
::
MiniProfiler
.
config
.
position
=
'right'
Rack
::
MiniProfiler
.
config
.
position
=
'right'
Rack
::
MiniProfiler
.
config
.
start_hidden
=
tru
e
Rack
::
MiniProfiler
.
config
.
start_hidden
=
fals
e
Rack
::
MiniProfiler
.
config
.
skip_paths
<<
'/teaspoon'
Rack
::
MiniProfiler
.
config
.
skip_paths
<<
'/teaspoon'
end
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