Class: Parrot::ApplicationController

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

Direct Known Subclasses

CommentsController

Instance Method Summary collapse

Instance Method Details

#default_url_options(options = {}) ⇒ Object

Reading default_url_options from parent app ApplicationController



4
5
6
7
# File 'app/controllers/parrot/application_controller.rb', line 4

def default_url_options(options = {})
  app_controller = ::ApplicationController.new
  app_controller.default_url_options if app_controller.respond_to? :default_url_options
end