Class: Crowdblog::PostsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- Crowdblog::PostsController
- Defined in:
- app/controllers/crowdblog/posts_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Crowdblog::ApplicationController
Instance Method Details
#index ⇒ Object
3 4 5 |
# File 'app/controllers/crowdblog/posts_controller.rb', line 3 def index @posts = Post.published_and_ordered end |