Skip to content

Commit

Permalink
README更新
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshimi committed Jun 22, 2012
1 parent 88e24a9 commit df37809
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Expand Up @@ -8,8 +8,8 @@
=== scaffold
確認画面付きscaffold

rails generate railstar:scaffold NAME [field[:type] field[:type]] [options]
rails g railstar:scaffold article title:string body:text
rails generate railstar:scaffold NAME [field[:type] field[:type]] [options]
rails g railstar:scaffold article title:string body:text

モデルは作らない。コントローラとビューのみ生成

Expand Down Expand Up @@ -42,7 +42,7 @@ key,value,position,name 必須

CSVのpositionカラムの数字を入れ替えることで、セレクトボックスの順番を変えることも可能

== ViewHelper
== ページ毎の<head>要素コントロール
layoutファイルにおいて、
<head>
<title><%= yield :title %></title>
Expand Down

0 comments on commit df37809

Please sign in to comment.