Skip to content

Commit

Permalink
Basic layout and jquery.js
Browse files Browse the repository at this point in the history
  • Loading branch information
drogus committed Jun 16, 2009
1 parent 5c9ef43 commit 2b3abcc
Show file tree
Hide file tree
Showing 3 changed files with 4,387 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/controllers/home_controller.rb
@@ -1,4 +1,7 @@
class HomeController < ApplicationController

layout 'main'

def show
end

Expand Down
8 changes: 8 additions & 0 deletions app/views/layouts/main.html.haml
@@ -0,0 +1,8 @@
!!! Strict
%html
%head
%title== Javascript test
%meta{ :content => 'text/html; charset=utf-8', 'http-equiv' => "content-type" }
%body
= yield
= javascript_include_tag "jquery", "application"

0 comments on commit 2b3abcc

Please sign in to comment.