Sha256: 5592a07a8b612e3b6bcd81f4c3104117701d9489c4feeeec3c5afd75d9018493

Contents?: true

Size: 257 Bytes

Versions: 2

Compression:

Stored size: 257 Bytes

Contents

module Enlightenment
  class PagesController < Enlightenment::ApplicationController
    respond_to :html

    def show
      super
    end

    private

      # handle deprecation warning.
      def path
        super.sub(/\.html$/, '')
      end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
enlightenment-0.0.1.pre.2 app/controllers/enlightenment/pages_controller.rb
enlightenment-0.0.1.pre.1 app/controllers/enlightenment/pages_controller.rb