caboose-cms 0.8.81 → 0.8.82

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: 7a3c2130fa3514e7d62bef407a67d02a7faab83b
4
- data.tar.gz: fb9977c45bbd053b7e962a49487380c8ae18e730
3
+ metadata.gz: 278b89dc2914a87d824a0182516b1744d65d29d4
4
+ data.tar.gz: 31143b7100a96faea14a6daa3b3d52e8426d62ee
5
5
  SHA512:
6
- metadata.gz: 56f1728d6c2ec13f9049785187b527f8d249e2106869656253ceb90fd2a32d3d4c83c2815ff38d61f65324805d47bbc09837a4b37173d8d307bbdd0440fa19e9
7
- data.tar.gz: abf42957b34906186f3bacff9ed44684e1328bd1d229f4fc9ad608c32a61036eda859e6ffe5b1ff1daaddfc07aac5050bc7aa7c65cedfa067e58a7930b5353bd
6
+ metadata.gz: 6d62a265b791ee72dbd24cface719a676dde1ced7911588d26accdf67e7860ab3ec359e92104598a6e962f0a12454ff8f618c30210ff1db3f9eb4c5024ee3883
7
+ data.tar.gz: 70c038605e40fa3c87b24d4c02541c133d91edcd27f851d1c0589fb2e5ecb3bcc0c83c21f3d06edd8ba1a08cfdba568400027df71293961d7456e2f197ee449a
@@ -50,13 +50,13 @@ module Caboose
50
50
 
51
51
  # @route GET /admin/block-types/parse
52
52
  def admin_parse_form
53
- #return if !user_is_allowed('pages', 'view')
53
+ return if !user_is_allowed('blocktypeparser', 'view')
54
54
  render :layout => 'caboose/admin'
55
55
  end
56
56
 
57
57
  # @route POST /admin/block-types/parse-tags
58
58
  def admin_parse_tags
59
- #return if !user_is_allowed('pages', 'view')
59
+ return if !user_is_allowed('blocktypeparser', 'view')
60
60
  children = params[:children] && params[:children] != 'false' ? params[:children] : nil
61
61
  resp = BlockTypeParser.parse_html(params[:html], params[:tags], children)
62
62
  render :json => resp
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.8.81'
2
+ VERSION = '0.8.82'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.81
4
+ version: 0.8.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry