Sha256: d75cf04807fb02787dcd14b37debbefc5f1833e5105fdf16a1824777eb040bfc
Contents?: true
Size: 368 Bytes
Versions: 32
Compression:
Stored size: 368 Bytes
Contents
Spree::ContentController.class_eval do after_filter :fire_visited_path, :only => :show after_filter :fire_visited_action, :except => :show def fire_visited_path fire_event('spree.content.visited', :path => "content/#{params[:path]}") end def fire_visited_action fire_event('spree.content.visited', :path => "content/#{params[:action]}") end end
Version data entries
32 entries across 32 versions & 2 rubygems