Created
December 15, 2008 23:10
-
-
Save nogweii/36154 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MainController < Ramaze::Controller | |
def index | |
@items = {} | |
# pp WishList.original | |
WishList.original.each do |id, tags| | |
@items[tags[:item]] = tags.reject {|k,v| k == :item } | |
end | |
pp @items | |
"List of all entires" | |
end | |
def new | |
"Create a new entry" | |
end | |
def login | |
# Add the choosen name to sesion[] | |
"Choose a username" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment