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