Skip to content

Commit

Permalink
pull out js101 projects (TheOdinProject#836)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyloyd authored and KevinMulhern committed Dec 11, 2017
1 parent d9fe091 commit ce90751
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,18 @@ def require_updates?(real_attrs, seed_attrs)
repo: 'javascript_curriculum'
)

lesson_counter += 1
create_or_update_lesson(
title: "Rock Paper Scissors",
title_url: "Rock Paper Scissors".parameterize,
description: "Rock Paper Scissors",
position: lesson_counter,
section_id: section.id,
is_project: true,
url: "/JS101/fundamentals/rock-paper-scissors-project.md",
repo: 'javascript_curriculum'
)

lesson_counter += 1
create_or_update_lesson(
title: "Clean Code",
Expand Down Expand Up @@ -402,6 +414,17 @@ def require_updates?(real_attrs, seed_attrs)
repo: 'javascript_curriculum'
)

lesson_counter += 1
create_or_update_lesson(
title: "Etch-a-Sketch project",
title_url: "etch-a-sketch-project".parameterize,
description: "etch-a-sketch-project",
position: lesson_counter,
section_id: section.id,
is_project: true,
url: "/JS101/etch-a-sketch-project.md",
repo: 'javascript_curriculum'
)
lesson_counter += 1
create_or_update_lesson(
title: "Fundamentals Part 5",
Expand Down

0 comments on commit ce90751

Please sign in to comment.