Sha256: d4fdbbf85737c91083a8911400c1b51caacc33e0c25420efc4d8533e65153c30

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

module Docushin
  class ApplicationController < ActionController::Base
    layout "docushin"

    private
    def authorize!
      render :text => "Unauthorized" unless Rails.env.development?
      return false
    end

    def load_route_set
      @route_set = Docushin::RouteSet.new
    end

    def set_default_base_path
      File.join(Rails.root, 'doc', 'docushin')
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
docushin-0.0.2 app/controllers/docushin/application_controller.rb