gbdev-acts_as_callback_logger 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/logger_link_to.rb +1 -2
- metadata +1 -1
data/lib/logger_link_to.rb
CHANGED
@@ -11,8 +11,7 @@ module ActionView::Helpers::AssetTagHelper
|
|
11
11
|
# TODO: add object checker stuff here....
|
12
12
|
|
13
13
|
# Get model updated in the transaction
|
14
|
-
model = ActiveSupport::Inflector.
|
15
|
-
model = ActiveSupport::Inflector.camelize(model).constantize
|
14
|
+
model = ActiveSupport::Inflector.camelize(app_log_object.model).constantize
|
16
15
|
# obj = model.find(obj_id)
|
17
16
|
return app_log_object.msg if model.callback_logger_object_url.blank?
|
18
17
|
|