Class: Write::PostsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Write::PostsController
- Includes:
- ApplicationHelper
- Defined in:
- app/controllers/write/posts_controller.rb
Instance Method Summary collapse
Methods included from ApplicationHelper
Instance Method Details
#index ⇒ Object
7 8 9 10 |
# File 'app/controllers/write/posts_controller.rb', line 7 def index GG.fetch if GG.empty? @posts = GG.all end |