mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Extract name to a constant
This commit is contained in:
parent
79c01181d1
commit
cc3b77f54b
2 changed files with 3 additions and 2 deletions
|
@ -14,6 +14,7 @@ require 'sidekiq/rails' if defined?(::Rails::Engine)
|
|||
require 'multi_json'
|
||||
|
||||
module Sidekiq
|
||||
NAME = "Sidekiq"
|
||||
LICENSE = 'See LICENSE and the LGPL-3.0 for licensing details.'
|
||||
|
||||
DEFAULTS = {
|
||||
|
|
|
@ -2,7 +2,7 @@ doctype html
|
|||
html
|
||||
head
|
||||
link href='#{{root_path}}assets/application.css' media='screen' rel='stylesheet' type='text/css'
|
||||
title Sidekiq
|
||||
title= Sidekiq::NAME
|
||||
body
|
||||
.navbar.navbar-fixed-top.navbar-inverse
|
||||
.navbar-inner
|
||||
|
@ -12,7 +12,7 @@ html
|
|||
span.icon-bar
|
||||
span.icon-bar
|
||||
a.brand href='#{{root_path}}'
|
||||
| Sidekiq
|
||||
= Sidekiq::NAME
|
||||
div.nav-collapse
|
||||
ul.nav
|
||||
li
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue