bootswatch_rails 3.1.1.6 → 3.1.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ae9f63e9f8d71ecbf2e2b95320441d882f8b286
4
- data.tar.gz: 9c498f993b6e08ed6099b15a93dc2bab041dac3f
3
+ metadata.gz: b55c313a624e69d4c9ef9494c6bcc1e0bc56bcf2
4
+ data.tar.gz: 91c7355b3ccb042652d024b69238cc4bfc684459
5
5
  SHA512:
6
- metadata.gz: 429e78d436053863c16777e9b89d8b97cabcfb4a8d0b990063f23a6daf397b09a39a4d65a94b98367a5ab432f528090ac901b1bb221b725e12d41d73231cbd73
7
- data.tar.gz: edd88580ac39278bd9876f846e2e40d8a72eacb8764fbc0fa9f6b71153087d02ce6e4a8cb9ccdd66149fc79f4bdc6bf915aeabb08431f51bf064f991e00fb815
6
+ metadata.gz: e8f29ab3dade9e72f78441ceaee78fc2df7caf034c8677256552e510af1ec8c3db9b35276edbc1354503ac1aa11af727690fc876458a617254017b4b3e5387b8
7
+ data.tar.gz: 9632a76cc15ec1cbd81c448a0d3a4ef8670ada89c041f8d42c623ffb65f388b3d7431b72be2e1ecedbc149f951cb7d11fcbc9601a0b1c3191e8bd3fd8a5aca72
@@ -1,5 +1,5 @@
1
1
  module BootswatchRails
2
- VERSION = "3.1.1.6"
2
+ VERSION = "3.1.1.7"
3
3
  THEMES = [:amelia, :cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :readable, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
4
4
  DEFAULT = 1
5
5
  end
@@ -29,7 +29,7 @@ module BootswatchRails
29
29
  " helper_method :default_theme",
30
30
  "",
31
31
  " def current_theme",
32
- " @current_theme = current_user if user_signed_in?",
32
+ " @current_theme = current_user.theme if user_signed_in?",
33
33
  " @current_theme ||= default_theme",
34
34
  " end",
35
35
  " helper_method :current_theme",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1.6
4
+ version: 3.1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volker Wiegand