gbdev-acts_as_callback_logger 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/logger_link_to.rb +1 -2
  2. metadata +1 -1
@@ -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.singularize(app_log_object.model)
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gbdev-acts_as_callback_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wes Hays