Sha256: 016329541ef77ba22571a024e9a3bc1c6d8c1a3b9b81162fbf1588ec33f3ebe3

Contents?: true

Size: 245 Bytes

Versions: 2

Compression:

Stored size: 245 Bytes

Contents

module ThemeHelper
  include Bootswitch

  def theme_name
    send(Bootswitch.configuration.theme_method) || Bootswitch.configuration.default_theme
  end

  def theme_stylesheet_link_tag
    render(partial: 'theme/stylesheet_link_tag')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootswitch-0.0.7 app/helpers/theme_helper.rb
bootswitch-0.0.5 app/helpers/theme_helper.rb