Sha256: 2b86c398cc82f6e6d9b7c01c86f8a52e37c8795cc398947e44328622daf0ceb5
Contents?: true
Size: 340 Bytes
Versions: 19
Compression:
Stored size: 340 Bytes
Contents
module Artwork module Controller def self.included(controller) controller.class_eval do around_filter :initialize_artwork_env helper View end end private def initialize_artwork_env Artwork.configure_for request yield ensure Artwork.reset_configuration end end end
Version data entries
19 entries across 19 versions & 1 rubygems