Class: Marti::MarticlesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- Marti::MarticlesController
- Defined in:
- app/controllers/marti/marticles_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/marti/marticles_controller.rb', line 5 def index render :index, locals: { marticles: marticles } end |
#show ⇒ Object
9 10 11 |
# File 'app/controllers/marti/marticles_controller.rb', line 9 def show render :show, locals: { marticle: marticle, marticles: marticles } end |