Module: MojHelper

Defined in:
app/helpers/moj_helper.rb

Instance Method Summary collapse

Instance Method Details

#config_item(key) ⇒ Object



2
3
4
# File 'app/helpers/moj_helper.rb', line 2

def config_item(key)
  Rails.configuration.send(key)
end

#logo_imageObject



6
7
8
9
10
# File 'app/helpers/moj_helper.rb', line 6

def logo_image
  image_tag('moj_logo_horizontal_36x246.png',
    class: 'content',
    width: 36, height: 246, alt: 'Ministry of Justice')
end