Peter,

This is my application controller

class ApplicationController < ActionController::Base
  protect_from_forgery
  include Hobo::Controller::AuthenticationSupport
  before_filter :except => [:signup, :do_signup, :login, :forgot_password,
:accept_invitation, :do_accept_invitation, :reset_password,
:do_reset_password, :index, :blog, :activate, :do_activate] do
     login_required unless User.count == 0
  end
end

i made no changes in the users controller.

Regards
Vivek


On Wed, Feb 13, 2013 at 12:26 AM, Peter Pavlovich <[email protected]>wrote:

> Thanks Vivek!
>
> Did you add the before_filter on you /app/controllers/users_controller.rb
> file? Also, could you give me what you have for the whole before_filter
> statement (including the "do" clause)?
>
> Thank you!
>
> Regards,
>
> Peter
>
>
> On Tuesday, February 12, 2013 12:40:55 PM UTC-5, Vivek Sampara wrote:
>
>> Hi,
>>
>> I had a similar problem . after digging around, my application controller
>> did not have :activate and :do_activate filters after upgrading the
>> application from 1.3 to 2.0. this the code on my controller
>>
>> before_filter :except => [:signup, :do_signup, :login, :forgot_password,
>> :accept_invitation, :do_accept_invitation, :reset_password,
>> :do_reset_password, :index, :blog, :activate, :do_activate] do
>>
>> Vivek
>>
>>
>> On Tue, Feb 12, 2013 at 10:23 PM, Peter Pavlovich <[email protected]>wrote:
>>
>>> I am having this same problem with an invitation-only website. Has
>>> anyone solved Alex's problem? I followed the same steps to solve this as
>>> did Alex with the same results. I compared my app to a newly created app to
>>> ensure I didn't modify some file inadvertanatly. I did not.
>>>
>>> Any ideas folks?
>>>
>>> Thanks
>>>
>>> Peter
>>>
>>> On Thursday, February 7, 2013 5:01:10 PM UTC-5, kevinpfromnm wrote:
>>>>
>>>> I've had some issues where I needed to specify the subsite on the
>>>> lifecycle creator/transition due to hobo not figuring out that it was
>>>> needed in admin space.  That's in the model btw
>>>>
>>>> On Saturday, February 2, 2013 9:11:19 AM UTC-7, Alex Greif wrote:
>>>>>
>>>>> sorry,
>>>>> changing the method name only solves the problem, that the password is
>>>>> stored,
>>>>> but creates a new problem: the invitation page is not shown.
>>>>>
>>>>> so please ignore my last post
>>>>>
>>>>> Alex.
>>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Hobo Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to hobousers+...@**googlegroups.com.
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/hobousers?hl=en<http://groups.google.com/group/hobousers?hl=en>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/hobousers?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to