Skip to content

Commit 2dcb172

Browse files
committed
update docs
1 parent a3697f5 commit 2dcb172

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
# rails-module-curd
22
> rails module for curd;
33
4-
## resouces:
4+
## resources:
55
+ rails generate scaffold Post title:string content:text
66

7+
## Step by step
8+
+ Generate resources:
9+
```shell
10+
rails g scaffold Post title:string content:text
11+
```
712

813
This README would normally document whatever steps are necessary to get the
914
application up and running.
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
class ApplicationController < ActionController::Base
2-
# protect_from_forgery with: :exception
3-
protect_from_forgery with: :null_session
2+
protect_from_forgery with: :exception
3+
# protect_from_forgery with: :null_session
44
end

0 commit comments

Comments
 (0)