tb_cms 1.2.0.beta3 → 1.2.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 605748db3cf3fd63c1605b3fef7298d1eace65c7
|
4
|
+
data.tar.gz: 7a6d640888624de140b24cfde91098057aeb4b94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c24b3c28ec9157510f1e3ef94126bc1eb608d64651e32d9344e01f1dca2756e5d7817e8a31986dc0e03dd66d38b8707568170b1c66b3be4afd4ea04488af8d8e
|
7
|
+
data.tar.gz: fffcbe87671ed135abe1489aadfa030ea758dd708d6b5c3312fb64782ccd9f270a9ff4ea3a8d2aec7a62b14c9b74d7037fce3a773adfb2b00c79350ca508358d
|
@@ -4,7 +4,7 @@ class Admin::PagesController < Admin::ApplicationController
|
|
4
4
|
before_filter :load_page,:only => [:edit,:update,:show,:destroy]
|
5
5
|
|
6
6
|
def index
|
7
|
-
@pages = SpudPage.
|
7
|
+
@pages = SpudPage.where(:spud_page_id => nil).order(:page_order).includes(:spud_pages)
|
8
8
|
home_page = SpudPage.where(:url_name => Spud::Cms.root_page_name).first
|
9
9
|
if home_page.blank?
|
10
10
|
flash.now[:warning] = "You have not setup your default CMS page. This page will be your homepage. To do so, create a page with the name '#{Spud::Cms.root_page_name.titlecase}'"
|
@@ -5,7 +5,7 @@ class Admin::SnippetsController < Admin::ApplicationController
|
|
5
5
|
before_filter :load_snippet, :only => [:show, :edit, :update, :destroy]
|
6
6
|
|
7
7
|
def index
|
8
|
-
@snippets = SpudSnippet.
|
8
|
+
@snippets = SpudSnippet.order(:name).paginate :page => params[:page]
|
9
9
|
respond_with @snippets
|
10
10
|
end
|
11
11
|
|
data/lib/spud_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.0
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Westlake Design
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tb_core
|
@@ -324,9 +324,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
324
324
|
version: '0'
|
325
325
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
326
326
|
requirements:
|
327
|
-
- - "
|
327
|
+
- - ">="
|
328
328
|
- !ruby/object:Gem::Version
|
329
|
-
version:
|
329
|
+
version: '0'
|
330
330
|
requirements: []
|
331
331
|
rubyforge_project:
|
332
332
|
rubygems_version: 2.2.1
|