Sha256: 684ad562fb49187953a6218d80fd4c4adb4021b164b5f7f0e7bc56e6fae68e9f

Contents?: true

Size: 319 Bytes

Versions: 14

Compression:

Stored size: 319 Bytes

Contents

module Bootswitch
  module Helpers
    def themes
      Bootswitch.configuration.themes
    end

    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
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bootswitch-0.6.0 lib/bootswitch/helpers.rb
bootswitch-0.5.4 lib/bootswitch/helpers.rb
bootswitch-0.5.3 lib/bootswitch/helpers.rb
bootswitch-0.5.2 lib/bootswitch/helpers.rb
bootswitch-0.5.1 lib/bootswitch/helpers.rb
bootswitch-0.5.0 lib/bootswitch/helpers.rb
bootswitch-0.4.0 lib/bootswitch/helpers.rb
bootswitch-0.3.0 lib/bootswitch/helpers.rb
bootswitch-0.2.2 lib/bootswitch/helpers.rb
bootswitch-0.2.1 lib/bootswitch/helpers.rb
bootswitch-0.2.0 lib/bootswitch/helpers.rb
bootswitch-0.1.3 lib/bootswitch/helpers.rb
bootswitch-0.1.2 lib/bootswitch/helpers.rb
bootswitch-0.1.1 lib/bootswitch/helpers.rb