caboose-cms 0.7.34 → 0.7.35
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/block_types_controller.rb +1 -1
- data/config/routes.rb +6 -8
- data/lib/caboose/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b960f7810d8424bc8dc81c531027d9f70616f590
|
4
|
+
data.tar.gz: 18e722459d2593c3ac5dda94a731faa6cd1d34a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02f26807b916103ad9345f99f3f1661fc3253fefd7a527bc66a7353f9349eba4e63d7b80ed52e59a40fabe450738a9052f622cbce4febc552159fcf4d2050e62
|
7
|
+
data.tar.gz: 62403b73f807ca49b53d2c4c985bd19b7783d78d1ad9e47fd09d11990d6590f4b1859ec4b28e7fa101f11f4442987bc6d9b723c3f6613233cc04b02fb4c441c4
|
@@ -153,7 +153,7 @@ module Caboose
|
|
153
153
|
# @route GET /admin/block-types/:field-options
|
154
154
|
# @route GET /admin/block-types/options
|
155
155
|
# @route GET /admin/block-types/:id/options
|
156
|
-
def
|
156
|
+
def admin_options
|
157
157
|
return unless user_is_allowed('pages', 'edit')
|
158
158
|
|
159
159
|
options = []
|
data/config/routes.rb
CHANGED
@@ -354,16 +354,14 @@ Caboose::Engine.routes.draw do
|
|
354
354
|
get "/admin/block-types/store/:block_type_summary_id/download" => "block_type_store#admin_download"
|
355
355
|
get "/admin/block-types/store/:block_type_summary_id" => "block_type_store#admin_details"
|
356
356
|
get "/admin/block-types/store" => "block_type_store#admin_index"
|
357
|
-
|
358
|
-
get "/admin/block-types/site-options" => "block_types#admin_site_options"
|
359
|
-
get "/admin/block-types/field-type-options" => "block_types#admin_field_type_options"
|
360
|
-
get "/admin/block-types/tree-options" => "block_types#admin_tree_options"
|
361
|
-
get "/admin/block-types/options" => "block_types#admin_options"
|
357
|
+
|
362
358
|
get "/admin/block-types/new" => "block_types#admin_new"
|
363
|
-
get "/admin/block-types/json" => "block_types#admin_json"
|
359
|
+
get "/admin/block-types/json" => "block_types#admin_json"
|
360
|
+
get "/admin/block-types/options" => "block_types#admin_options"
|
361
|
+
get "/admin/block-types/:field-options" => "block_types#admin_options"
|
362
|
+
get "/admin/block-types/:id/options" => "block_types#admin_options"
|
364
363
|
get "/admin/block-types/:id/json" => "block_types#admin_json_single"
|
365
|
-
get "/admin/block-types/:id/new" => "block_types#admin_new"
|
366
|
-
get "/admin/block-types/:id/options" => "block_types#admin_value_options"
|
364
|
+
get "/admin/block-types/:id/new" => "block_types#admin_new"
|
367
365
|
get "/admin/block-types/:id/icon" => "block_types#admin_edit_icon"
|
368
366
|
get "/admin/block-types/:id" => "block_types#admin_edit"
|
369
367
|
put "/admin/block-types/:id" => "block_types#admin_update"
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.35
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|