GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
fixed example for dispatch_with_basic_authentication_to
jnicklas (author)
Mon Apr 07 07:43:22 -0700 2008
commit  0b4d0b3baebb773b199d0e6e3a167bb441122319
tree    3ede19d397597dd58ab98b2bd3d0331a8efffd51
parent  f7dd556612b20fff034f90c4975f1704f7cff154
...
126
127
128
129
 
130
131
132
...
126
127
128
 
129
130
131
132
0
@@ -126,7 +126,7 @@ module Merb
0
       # the action being dispatched.
0
       #
0
       # ==== Example
0
- # dispatch_to(MyController, :create, :name => 'Homer' ) do
0
+ # dispatch_with_basic_authentication_to(MyController, :create, 'Fred', 'secret', :name => 'Homer' ) do
0
       # self.stub!(:current_user).and_return(@user)
0
       # end
0
       #

Comments

    No one has commented yet.