app/models/tramway/news/news.rb in tramway-news-1.0.4.1 vs app/models/tramway/news/news.rb in tramway-news-1.0.4.2

- old
+ new

@@ -1,4 +1,6 @@ +# frozen_string_literal: true + class ::Tramway::News::News < ::Tramway::Core::ApplicationRecord mount_uploader :photo, PhotoUploader def author audits.where(action: :create).first.user