Class: RailsPageComment::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/rails_page_comment/application_controller.rb

Direct Known Subclasses

PageCommentsController

Instance Method Summary collapse

Instance Method Details

#mailer_set_url_optionsObject



6
7
8
# File 'app/controllers/rails_page_comment/application_controller.rb', line 6

def mailer_set_url_options
  ActionMailer::Base.default_url_options[:host] = request.host_with_port
end