Class: Msg::SendingsController
- Inherits:
-
EngineController
- Object
- ApplicationController
- EngineController
- Msg::SendingsController
- Defined in:
- app/controllers/msg/sendings_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
28 29 30 31 |
# File 'app/controllers/msg/sendings_controller.rb', line 28 def create @sending.update_attributes(sending_params) respond_with @sending end |
#destroy ⇒ Object
33 34 35 36 |
# File 'app/controllers/msg/sendings_controller.rb', line 33 def destroy @sending.destroy head :ok end |
#index ⇒ Object
10 11 12 13 14 |
# File 'app/controllers/msg/sendings_controller.rb', line 10 def index respond_with @sendings do |format| format.js { render :partial => "report"} end end |
#new ⇒ Object
24 25 26 |
# File 'app/controllers/msg/sendings_controller.rb', line 24 def new respond_with @sending end |
#review ⇒ Object
20 21 22 |
# File 'app/controllers/msg/sendings_controller.rb', line 20 def review respond_with @sending, :layout => Msg.email_layout end |
#show ⇒ Object
16 17 18 |
# File 'app/controllers/msg/sendings_controller.rb', line 16 def show respond_with @sending end |