Sha256: 62103fd2c7908defa47a32d039315ed7b5027ab222616311b3f5525233385118

Contents?: true

Size: 260 Bytes

Versions: 6

Compression:

Stored size: 260 Bytes

Contents

ActionView::Template.class_eval do
  alias_method :rails_initialize, :initialize

  def initialize(source, identifier, handler, details)
    source = Deface::Override.apply(source, details)

    rails_initialize(source, identifier, handler, details)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
deface-0.5.2a lib/deface/action_view_extensions.rb
deface-0.5.2 lib/deface/action_view_extensions.rb
deface-0.5.1 lib/deface/action_view_extensions.rb
deface-0.5.0 lib/deface/action_view_extensions.rb
deface-0.4.0 lib/deface/action_view_extensions.rb
deface-0.3.0 lib/deface/action_view_extensions.rb