caboose-cms 0.7.34 → 0.7.35

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad726ea9ae8002183c916fbbe27f5920f42c5623
4
- data.tar.gz: 9a5f03ca20598b8313552babc6e1bc5def46e964
3
+ metadata.gz: b960f7810d8424bc8dc81c531027d9f70616f590
4
+ data.tar.gz: 18e722459d2593c3ac5dda94a731faa6cd1d34a5
5
5
  SHA512:
6
- metadata.gz: 0a354c9e62f5c36d828a80eda967e178ee460593960f7738d10b86e0c39caf722640c8217c902d30e5d7d9ab160dcc0125c66b64a50c3a26581a4d1b0905cb03
7
- data.tar.gz: 40d5eef0ba22c2151fc84cf0adcdd50ff7c601f1b5859d647ae72f190f94771e65c6056a4fab05115d59368485eac18d966c69ba43003dcaee70478b6788ff35
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 admin_field_type_options
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"
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.7.34'
2
+ VERSION = '0.7.35'
3
3
  end
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.34
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-18 00:00:00.000000000 Z
11
+ date: 2015-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg