lib/exposure.rb in exposure-0.0.4 vs lib/exposure.rb in exposure-0.0.5
- old
+ new
@@ -1,14 +1,15 @@
$:.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.4'
+ VERSION = '0.0.5'
def self.included(base)
base.extend Configuration
end
-end
\ No newline at end of file
+end
+ActionController::Base.send :include, Exposure