diff --git a/lib/services.rb b/lib/services.rb index 705b4da..b8038c0 100644 --- a/lib/services.rb +++ b/lib/services.rb @@ -4,6 +4,10 @@ Services = Canister.new S = Services +S.register(:version) do + ENV["APP_VERSION"] || "APP_VERSION" +end + S.register(:solrcloud_on?) do ENV["SOLRCLOUD_ON"] == "true" end diff --git a/views/layout.erb b/views/layout.erb index 78c181d..3e1431c 100644 --- a/views/layout.erb +++ b/views/layout.erb @@ -3,6 +3,7 @@ + Library Search | <%= list.doc_title %>