$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) require 'action_controller' require 'exposure/configuration' require 'exposure/common' require 'exposure/patterns/resources' require 'exposure/patterns/resource' module Exposure VERSION = '0.0.5' def self.included(base) base.extend Configuration end end ActionController::Base.send :include, Exposure