Skip to content

Commit

Permalink
fix: мемоизация меты в контроллере опроса статуса
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryBochkarev committed Jul 17, 2017
1 parent df32bb7 commit e38bd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/resque/jobs_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def show
private

def meta
Resque::Plugins::Meta.get_meta(meta_id) if meta_id
@meta ||= Resque::Plugins::Meta.get_meta(meta_id) if meta_id
end

def meta_id
Expand Down

0 comments on commit e38bd9d

Please sign in to comment.