Skip to content

Instantly share code, notes, and snippets.

@arch-jslin
Created March 26, 2010 07:26
Show Gist options
  • Save arch-jslin/344629 to your computer and use it in GitHub Desktop.
Save arch-jslin/344629 to your computer and use it in GitHub Desktop.
module Dullist
class Actions < Controller
map '/' #this must be called in the derived class??
attr_accessor :tasks
def initialize
super()
@tasks = Task.all
@title = ''
end
def index
@title = request[:title]
end
def done(title)
@title = title
end
........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment