Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
brett-anderson committed Nov 6, 2013
1 parent ce7dfa8 commit 2ed68c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions kyles-twitter-app/app/controllers/tweets_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class TweetsController < ApplicationController
def index
@tweets = Tweet.order("id DESC")
@tweet = Tweet.new
end

def create
Expand Down
3 changes: 3 additions & 0 deletions kyles-twitter-app/app/views/tweets/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<h1>Tweets#index</h1>

<%= form_for @tweet do |f| %>
<% %>

<div id="tweets">
<% @tweets.each do |tweet|%>
<p class="tweet"><%= tweet.status %></p>
Expand Down

0 comments on commit 2ed68c7

Please sign in to comment.