Commit f3b5d68f authored by dimitrieh's avatar dimitrieh

Adds a EE specific dev favicon

parent 9eeed71f
...@@ -35,7 +35,7 @@ module PageLayoutHelper ...@@ -35,7 +35,7 @@ module PageLayoutHelper
end end
def favicon def favicon
Rails.env.development? ? 'favicon-blue.ico' : 'favicon.ico' Rails.env.development? ? 'favicon-green.ico' : 'favicon.ico'
end end
def page_image def page_image
......
---
title: Adds a EE specific dev favicon
merge_request:
author:
...@@ -48,7 +48,7 @@ describe PageLayoutHelper do ...@@ -48,7 +48,7 @@ describe PageLayoutHelper do
it 'has blue favicon for development' do it 'has blue favicon for development' do
allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new('development')) allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new('development'))
expect(helper.favicon).to eq 'favicon-blue.ico' expect(helper.favicon).to eq 'favicon-green.ico'
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment