promethee 1.4.25 → 1.4.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/promethee/core_ext/tags.rb +2 -1
- data/lib/promethee/rails/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: ec539ba2454570b0991fee49fad2b36af344adea
|
4
|
+
data.tar.gz: 3ad0e247dcfd43ed11cf6ab834edad5242818508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89289bb4adac948175162fb2a9315ddeaecc8d18fa99b6c69c26a29f8887c79155c2e8464a3c6580e115cc053fb9ef125af7f54333342a1b2c7709fb780adb8f
|
7
|
+
data.tar.gz: c277a0414929fd9a99ea5f1307ddc62039fe735a143ef3d7062066f056188cefa56656661f85a001052b3af08770a2e79d57b1cb4f31087f4fa57025ac5d8cc0
|
@@ -6,7 +6,8 @@ module ActionView
|
|
6
6
|
# https://github.com/rails/rails/blob/bdc581616b760d1e2be3795c6f0f3ab4b1e125a5/actionview/lib/action_view/helpers/tags/text_field.rb
|
7
7
|
class PrometheeEditor < Base
|
8
8
|
def render
|
9
|
-
@options[:master_data] = object.send @method_name unless object.nil?
|
9
|
+
@options[:master_data] = object.send @method_name unless object.nil?
|
10
|
+
@options[:master_data] = @options[:value] if @options.key?(:value)
|
10
11
|
ApplicationController.renderer.render partial: 'promethee/edit', locals: @options
|
11
12
|
end
|
12
13
|
end
|