effective_pages 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/effective/pages_controller.rb +1 -4
- data/lib/effective_pages/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41e4524f61448f30e7c0f746a97f5bedca824d2cbabd20843c33ccf494ba3abd
|
4
|
+
data.tar.gz: 3bb6fc1fabc93d7dfd68508d546bb021a8060d5c6a1bf1cc96a40f89b2fbd220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1e667eb86d0bbbe5bb0baa8f098c9cc02f3509392d926ab1eeb33e92ad5504dff2342c44b16e07fc6e6df685b90a44bea229c37c3e397890502afaf317ea2c7
|
7
|
+
data.tar.gz: ece1510127050a09a8a6d0ff2324f4f063c19574f5a8cf3980d0664be768d5434fd4660f9d0da2e7a8c98566f5615a6d7f10dc3c9a8dbb4a7b8c9d446f509586
|
@@ -6,10 +6,7 @@ module Effective
|
|
6
6
|
|
7
7
|
@page = @pages.find(params[:id])
|
8
8
|
|
9
|
-
|
10
|
-
raise Effective::AccessDenied unless @page.roles_permit?(current_user)
|
11
|
-
|
12
|
-
EffectivePages.authorized?(self, :show, @page)
|
9
|
+
EffectiveResources.authorize!(self, :show, @page)
|
13
10
|
|
14
11
|
@page_title = @page.title
|
15
12
|
@meta_description = @page.meta_description
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: sassc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|