Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added messages index and view

  • Loading branch information...
commit 2980e7d3d5fb91762c9d914fb78fffc65e782f1c 1 parent 8d222e9
@ludo authored
View
4 app/controllers/messages_controller.rb
@@ -10,4 +10,8 @@ def create
redirect_to messages_path
end
+
+ def index
+
+ end
end
View
1  app/views/messages/index.html.haml
@@ -0,0 +1 @@
+%h1 Messages
View
2  spec/controllers/messages_controller_spec.rb
@@ -53,7 +53,7 @@
describe "GET /messages" do
it "should render 'index' template" do
- get :messages
+ get :index
response.should render_template("index")
end
Please sign in to comment.
Something went wrong with that request. Please try again.