scaffold_plus 1.10.2 → 1.10.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a06eafe527c42454877aac2670d62bc1ff41503c
|
4
|
+
data.tar.gz: c5ba0379d8fb3a591d9a7c582d113bd154bd344f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bab8484467855ead6d439a53b75b0239280373f055b195752b4148e97ad01c6850aeb6d8b931d0e06aeeccce115e2da7881773dca46324a9b6c27970f59d9bed
|
7
|
+
data.tar.gz: 879f8b0701e895ccad7b968bcbb08ba03dde508d4626409c88226d5879f4663915a4d0e26a60d30b7fdf1f71388b550fcf980433e9a12d1e0600ee32fce76f8f
|
@@ -44,7 +44,7 @@ module ScaffoldPlus
|
|
44
44
|
inject_into_file file, after: /private$/ do
|
45
45
|
"\n def authority_forbidden(error)" +
|
46
46
|
"\n Authority.logger.warn(error.message)" +
|
47
|
-
"\n redirect_to
|
47
|
+
"\n redirect_to root_path, alert: 'Forbidden'" +
|
48
48
|
"\n end\n"
|
49
49
|
end
|
50
50
|
inject_into_file file, after: /@#{name} = #{class_name}.find.*$/ do
|