lib/bootswitch/methods.rb in bootswitch-0.0.12 vs lib/bootswitch/methods.rb in bootswitch-0.0.13
- old
+ new
@@ -1,13 +1,13 @@
module Bootswitch
def self.themes
configuration.themes
end
- def theme_name
+ def self.theme_name
send(Bootswitch.configuration.theme_method) || Bootswitch.configuration.default_theme
end
- def theme_stylesheet_link_tag
+ def self.theme_stylesheet_link_tag
render(partial: 'theme/stylesheet_link_tag')
end
end
\ No newline at end of file