Skip to content

Commit

Permalink
Merge pull request #3551 from exercism/trackler-specifications
Browse files Browse the repository at this point in the history
Use trackler specifications in place of problems
  • Loading branch information
Katrina Owen committed Jun 4, 2017
2 parents 3f2ae47 + 7efbf2c commit 5a59302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/contribute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ class Contribute < Core
get '/contribute/canonical-data/?:slug?' do |slug|
slug ||= ''

active_problems = Trackler.problems.reject(&:deprecated?).sort_by(&:name)
active_problems = Trackler.specifications.reject(&:deprecated?).sort_by(&:name)
need_canonical = active_problems.reject(&:canonical_data_url)

erb :"contribute/canonical_data", locals: {
current_problem: Trackler.problems[slug],
current_problem: Trackler.specifications[slug],
implementations: Trackler.implementations[slug],
problems: need_canonical,
active_problems_count: active_problems.size,
Expand Down

0 comments on commit 5a59302

Please sign in to comment.