Class: Conductor::ActionMailbox::InboundEmailsController
- Inherits:
-
Rails::Conductor::BaseController
- Object
- Rails::Conductor::BaseController
- Conductor::ActionMailbox::InboundEmailsController
- Defined in:
- app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
16 17 18 19 |
# File 'app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb', line 16 def create inbound_email = create_inbound_email(new_mail) redirect_to main_app.rails_conductor_inbound_email_url(inbound_email) end |
#index ⇒ Object
5 6 7 |
# File 'app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb', line 5 def index @inbound_emails = ActionMailbox::InboundEmail.order(created_at: :desc) end |
#new ⇒ Object
9 10 |
# File 'app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb', line 9 def new end |
#show ⇒ Object
12 13 14 |
# File 'app/controllers/rails/conductor/action_mailbox/inbound_emails_controller.rb', line 12 def show @inbound_email = ActionMailbox::InboundEmail.find(params[:id]) end |