• P
    Add ActionView::Base.default_formats · 45efb665
    Piotr Sarnacki 提交于
    default_formats array is used by LookupContext in order to allow
    rendering templates when :formats option is not passed. Previously it
    was always set to Mime::SET, which created dependency on Action Pack. In
    order to remove this dependency, Mime::SET is used only if
    ActionController is loaded.
    45efb665
action_dispatch.rb 3.1 KB