roroacms 0.0.8 → 0.0.8.1

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: 6eab39cdf1f12a5b70a78f24a5fe608d4007ef7c
4
- data.tar.gz: a4a527b0434d052dbe38730fbe57f25ee6575f61
3
+ metadata.gz: 369cdc421342523274a8a9248578d8f3f6210203
4
+ data.tar.gz: f73499d44ee5394bd81dd8c6b00593c358228380
5
5
  SHA512:
6
- metadata.gz: 6fe71947bdb7bfa7a172f0a9f5e6b07cdea41b9df8220c9ab879cb465ae898c051dd1365a3ac368313be6241026456e25c82f53106fe9fe1cd47457eed8c0028
7
- data.tar.gz: 57ec0978ee05d61b83fc503d8971ff0473c9bc7298dc3957eb307e1e07cb05a363b5725a9fbcafe454dd96343efbbc47104d6effb898f1e34a8fa4133636e588
6
+ metadata.gz: 43c94a94041cdaa5cbf97e17601f3004de58abc5483544888e0af2e23841b6e1f2ac42639a04fbe087721fff5cb6618b2b45e047d31df5eaf5eb3054a3f68b67
7
+ data.tar.gz: afdeffaf19dec5df59d0ee4d7cdb6845952a27553e1653f90a1ff96db1cbe1baf5139ecc6f28370dd2e4e448a739a1d59560e5863df1cb7327ab21a90639fedb
@@ -114,8 +114,7 @@ module Roroacms
114
114
  # check that the setup is complete if not redirect to the setup area
115
115
 
116
116
  def check_setup
117
- abort session[:setup_complete].inspect
118
- redirect_to setup_index_path and return if session[:setup_complete].blank?
117
+ redirect_to setup_index_path and return if ( Setting.get('setup_complete') != 'Y' && params[:controller] != 'roroacms/setup' ) || session[:setup_complete].blank?
119
118
  end
120
119
 
121
120
  # add the home breadcrumb for the front end
@@ -1,3 +1,3 @@
1
1
  module Roroacms
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.8.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roroacms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Fletcher