module Glimpse
  module Views
    class View
      def initialize(options = {})
        @options = options
      end

      def enabled?
        true
      end

      def partial_path
        "glimpse/views/#{self.class.to_s.split('::').last.downcase}"
      end
    end
  end
end

module Glimpse
  module Views
    class View
      def initialize(options = {})
        @options = options
      end

      def enabled?
        true
      end

      def partial_path
        self.class.to_s.underscore
      end
    end
  end
end

Use the full path to build the partial name
Use the full path to build the partial name
