effective_pages 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/app/controllers/effective/pages_controller.rb +1 -1
- data/lib/effective_pages/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: aa25e6c6803b56faa0afafb0310ecde789f8497f5e108073a164b4287d287b0c
|
4
|
+
data.tar.gz: 77d79c019d3520c265ad17a1f371edfaaab844728e8f9ed0b72303f813f1522a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6408c38dbc2a63a58f20da32d24e737d42fd8ef98e4df6d6bb4599bbcb07ff2c5bd6e3cab2b155280be3059622a976cf6049c4338c20c7a528571ff40437924a
|
7
|
+
data.tar.gz: cd20fa624610912dddb08c99bfe6debee93acab00ef402f600faed0edf9daf5e5aab820a7731c8846ce3306560f13164ac2663772cbecda6026200ae72c80f58
|
@@ -2,7 +2,7 @@ module Effective
|
|
2
2
|
class PagesController < ApplicationController
|
3
3
|
def show
|
4
4
|
@pages = Effective::Page.all
|
5
|
-
@pages = @pages.published unless
|
5
|
+
@pages = @pages.published unless EffectivePages.authorized?(self, :admin, :effective_pages)
|
6
6
|
|
7
7
|
@page = @pages.find(params[:id])
|
8
8
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_pages
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
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-05-
|
11
|
+
date: 2019-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -147,8 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
- !ruby/object:Gem::Version
|
148
148
|
version: '0'
|
149
149
|
requirements: []
|
150
|
-
|
151
|
-
rubygems_version: 2.4.5.1
|
150
|
+
rubygems_version: 3.0.3
|
152
151
|
signing_key:
|
153
152
|
specification_version: 4
|
154
153
|
summary: Content pages for your rails app
|