1
0
Fork 0
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:
Mike Perham 2012-09-09 12:41:23 -07:00
parent 79c01181d1
commit cc3b77f54b
2 changed files with 3 additions and 2 deletions

View file

@ -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 = {

View file

@ -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