mcms_pages 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -61,21 +61,20 @@ class Admin::LayoutsController < AdminController
61
61
 
62
62
  value = true
63
63
 
64
- end # end if
65
-
66
- # check and change string to match column name
67
- if layout == "left"
64
+ # check and change string to match column name
65
+ if layout == "left"
68
66
 
69
- layout = "lft"
67
+ layout = "lft"
70
68
 
71
- elsif layout == "right"
69
+ elsif layout == "right"
72
70
 
73
- layout = "rgt"
71
+ layout = "rgt"
74
72
 
75
- end # end if
73
+ end # end if
76
74
 
77
- query_string += " AND `" + layout +"` = " + value.to_s
75
+ query_string += " AND `" + layout +"` = " + value.to_s
78
76
 
77
+ end # end if
79
78
 
80
79
  end # end loop
81
80
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcms_pages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-22 00:00:00.000000000 Z
12
+ date: 2012-08-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails