remove more leftovers from class_options
This commit is contained in:
parent
eeb0169bc9
commit
27442f4061
|
@ -2,13 +2,11 @@ PATH
|
|||
remote: .
|
||||
specs:
|
||||
zero (0.2.0)
|
||||
class_options
|
||||
tilt
|
||||
|
||||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
class_options (0.0.1)
|
||||
coderay (1.0.8)
|
||||
devutils (0.0.1)
|
||||
rspec
|
||||
|
|
|
@ -3,8 +3,6 @@ if RUBY_VERSION <= '1.9'
|
|||
require 'zero_fix18'
|
||||
end
|
||||
|
||||
require 'class_options'
|
||||
|
||||
module Zero
|
||||
require 'zero/controller'
|
||||
require 'zero/router'
|
||||
|
|
|
@ -5,7 +5,6 @@ module Zero
|
|||
# rack compatible controllers. It catches #call and creates a new instance
|
||||
# with the environment and calls #render on it.
|
||||
class Controller
|
||||
extend ClassOptions::Options
|
||||
# initialize a new instance of the controller and call response on it
|
||||
def self.call(env)
|
||||
new(env).response
|
||||
|
|
Loading…
Reference in New Issue