README.rdoc in simple-layout-0.3.1 vs README.rdoc in simple-layout-0.4.0
- old
+ new
@@ -5,14 +5,15 @@
roup :development do
gem "simple-layout" # Last officially released gem
nd
From console:
- $rails g layout simple
+ $rails g layout simple # To generate simple layout
+ $rails destroy layout simple # To remove files related to simple layout
In your controller:
class PostsContorller < ApplicationController
- layout :simple
+ layout 'simple'
...
end
To detailize your layout, modifiy app/views/layout/simple.html.erb