Skip to content

Commit 2d23db5

Browse files
committed
Remove unused instance vars and incorrect comment
1 parent 9d53faa commit 2d23db5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/controllers/search_controller.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,9 @@ def results
2424
return
2525
end
2626

27-
@primo_tabs = primo_tabs
28-
@timdex_tabs = timdex_tabs
29-
3027
# Route to appropriate search based on active tab
3128
case @active_tab
32-
when 'all' # all tab must come first to avoid matching primo or timdex arrays which contain all
29+
when 'all'
3330
load_all_results
3431
when *primo_tabs
3532
load_primo_results

0 commit comments

Comments
 (0)