adeia 0.11.5 → 0.11.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adeia/controller_resource.rb +1 -1
- data/lib/adeia/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0727d2ba6bb0f99fc0b1554944334638d19628af
|
4
|
+
data.tar.gz: 8ff0154958b54fea7be1164f2ac6bf2952475bfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 594ee1692fee0bb00f5e8b7f67d88c126e1a6d40651a4cf8fb517db10aebd35dec59477bf0c6847e216442955806b9e211b6eee54eb3de53bcd8762db1534383
|
7
|
+
data.tar.gz: 696c41d99cc9e0f210d02b2bbffa045c4b7cc819661dd9621434d1a17e93ffce44182fa470ea56e4ebc57414359c1c9c450aa0b42ebf9454a814558759c1e535
|
@@ -32,7 +32,7 @@ module Adeia
|
|
32
32
|
@controller_name = args.fetch(:controller, @controller.controller_path)
|
33
33
|
@token = args.fetch(:token, @controller.request.GET[:token])
|
34
34
|
@resource = args[:resource]
|
35
|
-
@model = args
|
35
|
+
@model = args[:model] || resource_class
|
36
36
|
@user = @controller.current_user
|
37
37
|
@controller.current_user ||= GuestUser.new # if not signed in but authorized
|
38
38
|
@controller.store_location
|
data/lib/adeia/version.rb
CHANGED