Class: Msg::EnvelopesController
- Inherits:
-
EngineController
- Object
- ApplicationController
- EngineController
- Msg::EnvelopesController
- Defined in:
- app/controllers/msg/envelopes_controller.rb
Instance Method Summary collapse
-
#show ⇒ Object
envelopes#show is pinged when a message is opened.
Instance Method Details
#show ⇒ Object
envelopes#show is pinged when a message is opened.
10 11 12 13 |
# File 'app/controllers/msg/envelopes_controller.rb', line 10 def show @envelope.open! redirect_to view_context.image_path('msg/ping.png') end |