Skip to content

Commit 23316ef

Browse files
committed
Fixed nav bar coloring
Fixed display of Rails routes
1 parent 49293bc commit 23316ef

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/assets/stylesheets/cms/bootstrap-customizations.css.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ tbody .block_status.published, #sitemap .span1.Published {
7171
padding-top: 20px;
7272
}
7373

74-
.navbar .nav > li > a {
74+
.navbar .nav > li > .btn {
7575
color: #fff;
7676
text-shadow: 0 0px 0 white;
7777
}
7878

79-
.navbar .nav > li > a:focus,
80-
.navbar .nav > li > a:hover {
79+
.navbar .nav > li > .btn:focus,
80+
.navbar .nav > li > .btn:hover {
8181
background-color: #eeeeee;
8282
color: #fff;
8383
text-decoration: none;

app/controllers/cms/routes_controller.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def index
1414
@routes = Rails.application.routes.routes.collect do |route|
1515
name = route.name.to_s
1616
verb = route.verb
17-
segs = route.path
17+
segs = route.path.spec
1818
reqs = route.requirements.empty? ? "" : route.requirements.inspect
1919
{:name => name, :verb => verb, :segs => segs, :reqs => reqs}
2020
end

0 commit comments

Comments
 (0)