Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix documentation with the right require

  • Loading branch information...
commit 573dfbc8aecf1c22682f7cde3e8ee5f407d51d0c 1 parent 17d1062
Luca Guidi jodosha authored
6 lib/lotus/action/callable.rb
View
@@ -26,7 +26,7 @@ module Callable
# @since 0.1.0
#
# @example with Lotus::Router
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# class Show
# include Lotus::Action
@@ -38,7 +38,7 @@ module Callable
# end
#
# @example Standalone
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# class Show
# include Lotus::Action
@@ -52,7 +52,7 @@ module Callable
# end
#
# @example Unit Testing
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# class Show
# include Lotus::Action
4 lib/lotus/action/callbacks.rb
View
@@ -44,7 +44,7 @@ def self.extended(base)
# @since 0.1.0
#
# @example Method names (symbols)
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# class Show
# include Lotus::Action
@@ -72,7 +72,7 @@ def self.extended(base)
# # 3. #call
#
# @example Anonymous functions (Procs)
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# class Show
# include Lotus::Action
2  lib/lotus/action/cookies.rb
View
@@ -32,7 +32,7 @@ def finish
# @api public
#
# @example
- # require 'lotus/action'
+ # require 'lotus/controller'
# require 'lotus/action/cookies'
#
# class Show
2  lib/lotus/action/mime.rb
View
@@ -42,7 +42,7 @@ module ClassMethods
# @since 0.1.0
#
# @example
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# class Show
# include Lotus::Action
2  lib/lotus/action/session.rb
View
@@ -20,7 +20,7 @@ module Session
# @since 0.1.0
#
# @example
- # require 'lotus/action'
+ # require 'lotus/controller'
# require 'lotus/action/session'
#
# class Show
2  lib/lotus/action/throwable.rb
View
@@ -58,7 +58,7 @@ def self.extended(base)
# @see Lotus::Action.handled_exceptions
#
# @example
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# class Show
# include Lotus::Action
2  lib/lotus/controller.rb
View
@@ -43,7 +43,7 @@ module Controller
# @see Lotus::Action::Throwable
#
# @example
- # require 'lotus/action'
+ # require 'lotus/controller'
#
# Lotus::Controller.handled_exceptions = { RecordNotFound => 404 }
#
Please sign in to comment.
Something went wrong with that request. Please try again.