Skip to content
Browse files

nnn...

  • Loading branch information...
1 parent 716771e commit 653e78c9bb2a1d4dcc696aeacf96ff9aa1fbb064 @koa2000 committed Apr 22, 2012
Showing with 7 additions and 1 deletion.
  1. +4 −0 app/controllers/users_controller.rb
  2. +3 −1 app/views/users/index.html.haml
View
4 app/controllers/users_controller.rb
@@ -1,8 +1,12 @@
+#coding: utf-8
+
class UsersController < ApplicationController
# GET /users
# GET /users.json
def index
@users = User.all
+
+ @msg = 'これは練習です!'
respond_to do |format|
format.html # index.html.erb
View
4 app/views/users/index.html.haml
@@ -1,4 +1,6 @@
-%h1 Listing users
+%h1 登録用フォームver1.2
+
+%div#main= @msg
%table
%tr

0 comments on commit 653e78c

Please sign in to comment.
Something went wrong with that request. Please try again.