Permalink
Browse files

Let's put these lessons in order

  • Loading branch information...
1 parent 052fecb commit d7fa1574ba92fcc817653bc352bc52b9c30e6678 @steveklabnik steveklabnik committed Dec 24, 2010
Showing with 5 additions and 5 deletions.
  1. +1 −1 app/ui/tabs/lessons.rb
  2. +1 −1 lessons/basic_programming.rb
  3. +1 −1 lessons/basic_ruby.rb
  4. +1 −1 lessons/basic_shoes.rb
  5. +1 −1 lessons/tour.rb
View
@@ -19,7 +19,7 @@ def content
title "Lessons"
@@lessons = []
Dir["#{HH::LESSONS}/*.rb"].each { |f| load f }
- @@lessons.each do |name, blk|
+ @@lessons.sort{|a, b| a[0] <=> b[0]}.each do |name, blk|
stack do
britelink "icon-file.png", name do
HH::APP.start_lessons name, blk
@@ -1,4 +1,4 @@
-lesson_set "Basic Programming" do
+lesson_set "2: Basic Programming" do
lesson "Hello there!"
page "Round One" do
View
@@ -1,6 +1,6 @@
# encoding: UTF-8
-lesson_set "Basic Ruby" do
+lesson_set "3: Basic Ruby" do
lesson "Hello there!"
page "Let's get started" do
View
@@ -1,6 +1,6 @@
# encoding: UTF-8
-lesson_set "Basic Shoes" do
+lesson_set "4: Basic Shoes" do
lesson "Hello there!"
page "Let's get started" do
View
@@ -1,4 +1,4 @@
-lesson_set "A Tour of Hackety Hack" do
+lesson_set "1: A Tour of Hackety Hack" do
lesson "Welcome!"
page "Why hello there!" do
para "Welcome to the Hackety Hack tour!"

0 comments on commit d7fa157

Please sign in to comment.