I keep getting the typical "undefined method `authenticate_user!'"
error in my controller.
I'm using it like this:
class ProductController < ApplicationController
before_filter :authenticate_user!, :except => [:list, :show]
Where is this method declared ? Where can I look at ? What makes the
method available in the controller ?
I installed Devise using the following instructions:
gem install devise
rails generate devise:install
rails generate devise product