Class: Piper::PartialsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- Piper::PartialsController
- Defined in:
- app/controllers/piper/partials_controller.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
3 4 5 6 |
# File 'app/controllers/piper/partials_controller.rb', line 3 def show name, locals = Piper::Encoding::decode(params[:data]) render partial: name, locals: eval(locals) end |