Module: Merb::Mixins::WebController::InstanceMethods

Defined in:
lib/merb-parts/mixins/web_controller.rb

Instance Method Summary collapse

Instance Method Details

#cookiesObject



19
20
21
# File 'lib/merb-parts/mixins/web_controller.rb', line 19

def cookies
  @web_controller.cookies
end

#headersObject



23
24
25
# File 'lib/merb-parts/mixins/web_controller.rb', line 23

def headers
  @web_controller.headers
end

#requestObject



15
16
17
# File 'lib/merb-parts/mixins/web_controller.rb', line 15

def request
   @web_controller.request  
end

#responseObject



31
32
33
# File 'lib/merb-parts/mixins/web_controller.rb', line 31

def response
  @web_controller.response
end

#routeObject



35
36
37
# File 'lib/merb-parts/mixins/web_controller.rb', line 35

def route
  request.route
end

#sessionObject



27
28
29
# File 'lib/merb-parts/mixins/web_controller.rb', line 27

def session
  @web_controller.session
end

#url(name, *args) ⇒ Object



39
40
41
# File 'lib/merb-parts/mixins/web_controller.rb', line 39

def url(name, *args)
  @web_controller.url(name, *args)
end