質問編集履歴
1
誤字
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
class PostsController < InheritedResources::Base
|
16
16
|
|
17
17
|
def index
|
18
|
-
@
|
18
|
+
@posts = Post.page(params[:page]).per(5)
|
19
19
|
end
|
20
20
|
|
21
21
|
end
|