Sha256: 718eadf11d79201255f14b8f45b614b79fb948a082f6a7f24684f14c632be1d0

Contents?: true

Size: 519 Bytes

Versions: 8

Compression:

Stored size: 519 Bytes

Contents

require 'action_view'

ActionView::PathResolver.class_eval do

  # not sure why we are doing this yet, but looks like a good idea
  ActionView::PathResolver::EXTENSIONS.replace [:locale, :versions, :formats, :handlers]

  # The query builder has the @details from the lookup_context and will
  # match the detail name to the string in the pattern, so we must append
  # it to the default pattern
  ActionView::PathResolver::DEFAULT_PATTERN.replace ":prefix/:action{.:locale,}{.:versions,}{.:formats,}{.:handlers,}"

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
versioncake-1.0.0 lib/versioncake/action_view/resolver.rb
versioncake-0.5.0 lib/versioncake/action_view/resolver.rb
versioncake-0.4.0 lib/versioncake/action_view/resolver.rb
versioncake-0.3.2 lib/versioncake/action_view/resolver.rb
versioncake-0.3.1 lib/versioncake/action_view/resolver.rb
versioncake-0.3.0 lib/versioncake/action_view/resolver.rb
versioncake-0.2.0 lib/versioncake/action_view/resolver.rb
versioncake-0.1.0 lib/versioncake/action_view/resolver.rb