Skip to content

Commit

Permalink
Fix memo-ization.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Jan 25, 2019
1 parent e90c7e6 commit 6574812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/music_import_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def identifier
end

def all_audio_files
@all_audio_files = recording_collector.audio_files(recording)
@all_audio_files ||= recording_collector.audio_files(recording)
end

def audio_files
Expand Down

0 comments on commit 6574812

Please sign in to comment.