Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 8, 2010
  1. @drogus
Commits on Sep 3, 2010
  1. @drogus

    Set only helpers_path on inherited hook in action_controller/railtie.…

    drogus authored
    …rb and use helper(:all) just after that
  2. @drogus

    Moved ActionMailer and ActionController railties options to inherited…

    drogus authored
    … hook
    This change is needed, because we must take namespace into account and if
    controller's/mailer's class is namespaced, engine's paths should be set
    instead of application's ones.
    The nice side effect of this is removing unneeded logic in
    ActionController::Base.inherited - now the helpers_path should be set
    correctly even for engine's controllers, so helper(:all) will always
    include correct helpers.
  3. @drogus

    Move ActionController::Railties::RoutesHelpers and ActionMailer::Rail…

    drogus authored
    …ties::RoutesHelper to AbstractController::Railties::RoutesHelpers
  4. @drogus

    Include application's helpers and router helpers by default, but incl…

    drogus authored
    …ude engine's ones for controllers inside isolated namespace
  5. @drogus

    Add mounted_helpers to routes

    drogus authored
    mounted_helpers are a bit similar to url_helpers. They're automatically
    included in controllers for Rails.application and each of mounted
    Engines. Mounted helper allows to call url_for and named helpers for
    given application.
    Given Blog::Engine mounted as blog_engine, there are 2 helpers defined:
    app and blog_engine. You can call routes for app and engine using those
    app.url_for(:controller => "foo")
Something went wrong with that request. Please try again.