app/models/concerns/loft_asset.rb in loft-0.3.0 vs app/models/concerns/loft_asset.rb in loft-0.3.1
- old
+ new
@@ -44,12 +44,10 @@
## Callbacks
before_save :update_asset_attributes
## Helpers
- def _list_item_title
- name
- end
+ alias_attribute :_list_item_title, :name
def _list_item_subtitle
time_ago_in_words(self.created_at) + " ago"
end