Here is the relevant code:
inject_into_file 'app/controllers/application_controller.rb', <<EOI,
:after => "protect_from_forgery\n" if private_site
include Hobo::Controller::AuthenticationSupport
before_filter :except => [:login, :forgot_password] do
login_required unless #{@user_resource_name.camelize}.count == 0
end
EOI
and it lacks of the accept_invitation and do_accept_invitation ...
Please, try to add it and confirm that you don't have any other problem, so
I will add it to the generator.
Thanks
dd
On Fri, Feb 18, 2011 at 4:35 PM, kevinpfromnm <[email protected]>wrote:
> likely the privacy mechanism is in the application controller
> (app/controllers/appli...) and you should be able to add the
> accept_invitation and do_accept_invitation actions to exception to the
> required login before_filter. though, not sure how 1.3 wizard is
> implementing the privacy option.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.