We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3697f5 commit 2dcb172Copy full SHA for 2dcb172
README.md
@@ -1,9 +1,14 @@
1
# rails-module-curd
2
> rails module for curd;
3
4
-## resouces:
+## resources:
5
+ rails generate scaffold Post title:string content:text
6
7
+## Step by step
8
++ Generate resources:
9
+```shell
10
+rails g scaffold Post title:string content:text
11
+```
12
13
This README would normally document whatever steps are necessary to get the
14
application up and running.
app/controllers/application_controller.rb
@@ -1,4 +1,4 @@
class ApplicationController < ActionController::Base
- # protect_from_forgery with: :exception
- protect_from_forgery with: :null_session
+ protect_from_forgery with: :exception
+ # protect_from_forgery with: :null_session
end
0 commit comments