Class: PartialsController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- PartialsController
- Defined in:
- lib/ecrire/app/controllers/partials_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
#current_user, #posts, #signed_in?
Instance Method Details
#show ⇒ Object
2 3 4 5 6 7 |
# File 'lib/ecrire/app/controllers/partials_controller.rb', line 2 def show @partial = Partial.find(params[:id].to_i) respond_to do |format| format.html { render layout: false } end end |