summaryrefslogtreecommitdiff
path: root/grita.rb
diff options
context:
space:
mode:
Diffstat (limited to 'grita.rb')
-rw-r--r--grita.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/grita.rb b/grita.rb
new file mode 100644
index 0000000..17ed55e
--- /dev/null
+++ b/grita.rb
@@ -0,0 +1,20 @@
+require 'sinatra'
+require 'haml'
+require 'less'
+require 'mongo'
+
+#config
+set :haml, :format => :html5
+
+#app
+get '/' do
+ haml :index
+end
+
+get '/style.css' do
+ less :style
+end
+
+not_found do
+ "Estos no son los droides que estás buscando."
+end \ No newline at end of file