Skip to content

Commit

Permalink
add haml
Browse files Browse the repository at this point in the history
  • Loading branch information
svasva committed Jul 20, 2011
1 parent de88c2c commit 3de3b6f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gem 'rails', '3.1.0.rc4'
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'

gem 'haml'
# Asset template engines
gem 'json'
gem 'sass-rails', "~> 3.1.0.rc"
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/home.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/

console.log 'test'
console.log 'test'
11 changes: 10 additions & 1 deletion app/views/home/index.html.erb
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
testing
<div id="user_nav">
<% if user_signed_in? %>
Signed in as <%= current_user.email %>. Not you?
<%= link_to "Sign out", destroy_user_session_path %>
<% else %>
<%= link_to "Sign up", new_user_registration_path %> or
<%= link_to "Sign in", new_user_session_path %>
<% end %>
</div>

0 comments on commit 3de3b6f

Please sign in to comment.