effective_posts 1.1.7 → 1.1.8

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
  SHA256:
3
- metadata.gz: 9c81635c7e56d5facbc3813276bb811a474df76044f0f58e75f4ecbce9e3c535
4
- data.tar.gz: 87acdee49f9b8d8ae2d364d477bae82bb2a41acbcb4ffc7795578dac36191f19
3
+ metadata.gz: 35cc779fb36341bf0621138e704ed5435cc5407b57b9a884ba718751223d41c8
4
+ data.tar.gz: c1ac5018105cad61d783e6f52fbf5b40af72a0f11f453f93d7fff500579622ee
5
5
  SHA512:
6
- metadata.gz: 345527391a44291733d2c714a4d848a209f0cee44bc98d4ceeffefb7c6ae2216d648690e955ca82e49087f49c4d5bc53a54e480a0c81db652d066184d0474fbc
7
- data.tar.gz: 178b671b010fe6eacc41de115f533a7b97ddc5dc18756e75ebb73a9e5925c88e7c9123b6e9438494c2cc910508f4a09896154beef0ff9a64c189da2ef6e9768f
6
+ metadata.gz: 9634291bf90ae6ee89259adc5078aa1b0a8bbcc86408607d92c577360e98e587160832c9771be3bdc4e36f66b352d2b304a8749a4f19eaa79812537f757e8f49
7
+ data.tar.gz: f880ababf5e6380521a52a74bd54bdc9a3236c549f27b495abfd7762afd58f4ec9530a2026498e497a16835a339122ef7310c381e27292b2a085c9bbab76d8f8
@@ -44,7 +44,7 @@ module Effective
44
44
  'Hi Admin!',
45
45
  ('You are viewing a hidden post.' unless @post.published?),
46
46
  'Click here to',
47
- ("<a href='#{effective_regions.edit_path(effective_posts.post_path(@post, exit: effective_posts.post_path(@post)))}' class='alert-link'>edit post content</a> or" unless admin_edit?),
47
+ ("<a href='#{effective_regions.edit_path(effective_posts.post_path(@post, exit: effective_posts.post_path(@post)))}' class='alert-link' data-no-turbolink='true' data-turbolinks='false'>edit post content</a> or" unless admin_edit?),
48
48
  ("<a href='#{effective_posts.edit_admin_post_path(@post)}' class='alert-link'>edit post settings</a>.")
49
49
  ].compact.join(' ')
50
50
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  = dropdown_link_to 'Edit', effective_posts.edit_admin_post_path(post)
7
7
  - if EffectivePosts.use_fullscreen_editor
8
- = dropdown_link_to 'Edit Content', effective_post_path(post, edit: true), title: 'Edit Content', 'data-no-turbolink': true, target: '_blank'
8
+ = dropdown_link_to 'Edit Content', effective_post_path(post, edit: true), title: 'Edit Content', 'data-no-turbolink': true, 'data-turbolinks': false, target: '_blank'
9
9
 
10
10
  = dropdown_link_to 'View', effective_post_path(post), target: '_blank'
11
11
 
@@ -1,3 +1,3 @@
1
1
  module EffectivePosts
2
- VERSION = '1.1.7'.freeze
2
+ VERSION = '1.1.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_posts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-02 00:00:00.000000000 Z
11
+ date: 2019-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails