See the answer in the other thread. Those methods are defined in devise and
you can use them safely.

Andrea D'Amico


On Mon, Nov 11, 2013 at 7:56 PM, Akshat Pradhan <notifications@github.com>wrote:

> In app/controllers/application_controller.rb:
>
> >
> > -  private
> > -    def current_user
>
> @adamico <https://github.com/adamico> Are we sure we want to delete these
> methods? They're currently not being used, but I hypothesize we do plan to
> use it in the near future. As an example, we're using the method
> user_signed_in? in Spoutlets.
> https://github.com/akshatpradhan/spoutlets/blob/master/app/views/layouts/_navigation.html.erb#L10
>
> I hypothesize I'm going to use user_signed_in? for the navigation bar
> (e.g. show the navigation bar if the user is signed in). What do you think?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/akshatpradhan/lending-round/pull/17/files#r7568871>
> .
>