mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Final touches and fixes.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
module ActionView
|
||||
# = Action View Log Subscriber
|
||||
#
|
||||
# Provides functionality so that Rails can output logs from Action View.
|
||||
module Railties
|
||||
class LogSubscriber < Rails::LogSubscriber
|
||||
def render_template(event)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
require 'active_support/core_ext/object/try'
|
||||
|
||||
module ActionView
|
||||
# Action View Rendering
|
||||
# = Action View Rendering
|
||||
module Rendering
|
||||
# Returns the result of a render that's dictated by the options hash. The primary options are:
|
||||
#
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
require "active_support/core_ext/enumerable"
|
||||
|
||||
module ActionView
|
||||
# = Action View Errors
|
||||
class ActionViewError < StandardError #:nodoc:
|
||||
end
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module ActionView #:nodoc:
|
||||
# = Action View Template Handlers
|
||||
class Template
|
||||
module Handlers #:nodoc:
|
||||
autoload :ERB, 'action_view/template/handlers/erb'
|
||||
|
||||
@@ -3,6 +3,7 @@ require "active_support/core_ext/class"
|
||||
require "action_view/template"
|
||||
|
||||
module ActionView
|
||||
# = Action View Resolver
|
||||
class Resolver
|
||||
def initialize
|
||||
@cached = Hash.new { |h1,k1| h1[k1] =
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
module ActionView #:nodoc:
|
||||
# = Action View Text Template
|
||||
class Template
|
||||
class Text < String #:nodoc:
|
||||
attr_accessor :mime_type
|
||||
|
||||
@@ -4,6 +4,7 @@ require 'action_controller/test_case'
|
||||
require 'action_view'
|
||||
|
||||
module ActionView
|
||||
# = Action View Test Case
|
||||
class TestCase < ActiveSupport::TestCase
|
||||
class TestController < ActionController::Base
|
||||
include ActionDispatch::TestProcess
|
||||
|
||||
Reference in New Issue
Block a user