Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove the ability for engines to serve assets from the public directory. | José Valim | 2011-04-15 | 1 | -8/+0 |
| | |||||
* | Set proper engine's asset directories when assets are served from engine. | Piotr Sarnacki | 2010-12-16 | 1 | -0/+8 |
| | | | | | | | | | When using stylesheet_link_tag(:all) or javascript_include_tag(:all), assets directories are searched for css or js files. When config.serve_static_assets is set to true, those files can be served directly from engine's directories. That's why assets paths should be set individually for controllers inside engine if we want to serve static assets with ActionDispatch::Static | ||||
* | Add config.action_controller.include_all_helpers, by default it is set to true. | Piotr Sarnacki | 2010-11-18 | 1 | -1/+3 |
| | | | | | | | In older rails versions there was a way to use only helpers from helper file corresponding to current controller and you could also include all helpers by saying 'helper :all' in controller. This config allows to return to older behavior by setting it to false. | ||||
* | Provide a cleaner syntax for paths configuration that does not rely on ↵ | José Valim | 2010-10-06 | 1 | -2/+4 |
| | | | | method_missing. | ||||
* | Forgot to move that line to railtie on rebase | Piotr Sarnacki | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Include all helpers from non-namespaced engines | Piotr Sarnacki | 2010-09-03 | 1 | -9/+3 |
| | |||||
* | Set only helpers_path on inherited hook in action_controller/railtie.rb and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -4/+2 |
| | | | | use helper(:all) just after that | ||||
* | Moved ActionMailer and ActionController railties options to inherited hook | Piotr Sarnacki | 2010-09-03 | 1 | -0/+28 |
| | | | | | | | | | | | 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. | ||||
* | Move ActionController::Railties::RoutesHelpers and ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -17/+0 |
| | | | | ActionMailer::Railties::RoutesHelper to AbstractController::Railties::RoutesHelpers | ||||
* | Include application's helpers and router helpers by default, but include ↵ | Piotr Sarnacki | 2010-09-03 | 1 | -0/+17 |
| | | | | engine's ones for controllers inside isolated namespace | ||||
* | This is not needed | Piotr Sarnacki | 2010-09-03 | 1 | -26/+0 |
| | |||||
* | Add mounted_helpers to routes | Piotr Sarnacki | 2010-09-03 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | | 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 helpers: app.root_url app.url_for(:controller => "foo") blog_engine.posts_path blog_engine.url_for(@post) | ||||
* | Clean up AM and AC railties. | José Valim | 2010-07-24 | 1 | -14/+0 |
| | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -56/+0 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | Consistent routing language | Joshua Peek | 2010-03-30 | 1 | -3/+3 |
| | |||||
* | adds missing requires for Object#blank? and Object#present? | Xavier Noria | 2010-03-28 | 1 | -0/+2 |
| | |||||
* | Move application configuration to the application configuration object, ↵ | José Valim | 2010-03-26 | 1 | -1/+1 |
| | | | | remove railtie_name and engine_name and allow to set the configuration object. | ||||
* | Rename named_url_helpers to url_helpers and url_helpers to url_for | Carlhuda | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Fix 1.9 issue | Yehuda Katz | 2010-02-26 | 1 | -1/+1 |
| | |||||
* | Final pass at removing the router from a global constant | Carlhuda | 2010-02-25 | 1 | -0/+14 |
| | |||||
* | Makes send_file work again by deferring to Rack::Sendfile. | Carlhuda | 2010-02-23 | 1 | -9/+1 |
| | | | | | | | | | | * Add the Rack::Sendfile middleware * Make the header to use configurable via config.action_dispatch.x_sendfile_header (default to "X-Sendfile"). * Add Railties tests to confirm that these work * Remove the :stream, :buffer_size, and :x_senfile default options to send_file * Change the log subscriber to always say "Sent file" * Add deprecation warnings for options that are now no-ops Note that servers can configure this by setting X-Sendfile-Type. Hosting companies and those creating packages of servers specially designed for Rails applications are encouraged to specify this header so that this can work transparently. | ||||
* | Rename Rails::Subscriber to Rails::LogSubscriber | Prem Sichanugrist | 2010-02-16 | 1 | -1/+1 |
| | |||||
* | Lookup the status code and rework the Completed line a bit | David Heinemeier Hansson | 2010-02-05 | 1 | -2/+1 |
| | |||||
* | Make filter parameters based on request, so they can be modified for ↵ | José Valim | 2010-01-21 | 1 | -1/+5 |
| | | | | anything in the middleware stack. | ||||
* | Move parameters to the top on logging. | José Valim | 2010-01-19 | 1 | -2/+6 |
| | |||||
* | Add ActionDispatch::Railties::Subscriber and finish tidying up the logging. | José Valim | 2010-01-17 | 1 | -6/+1 |
| | |||||
* | Do not send the whole controller in notifications, cherry pick required pieces. | José Valim | 2010-01-15 | 1 | -10/+7 |
| | |||||
* | Small tweaks in ActionController subscriber messages format. | José Valim | 2010-01-15 | 1 | -2/+2 |
| | |||||
* | Tidy up ActiveRecord and Views runtime information on process action logger. | José Valim | 2010-01-14 | 1 | -1/+2 |
| | |||||
* | Test fragment/page cache and send data/file notifications. | José Valim | 2010-01-13 | 1 | -5/+5 |
| | |||||
* | Add subscriber for ActionPack and move all logging inside it. | José Valim | 2010-01-13 | 1 | -0/+62 |