-
Notifications
You must be signed in to change notification settings - Fork 1
A 'micro' version of the Mack Framework
markbates/micro-mack
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Micro Mack ======================================================================== micro-mack was developed by: markbates === Sample Application require "rubygems" require "micro-mack" app.get("/") do text "hello world!" end app.get("/foo") do inline "<%= 1 + 1 %>" end app.get("/posts/new") do text %{ <form action="/posts/create" method="post"> <input type="text" name="id" value=""/> <input type="submit" value="Submit" /> </form> } end app.post("/posts/create") do text "id: #{params[:id]}" end MicroMack.start!
About
A 'micro' version of the Mack Framework
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published