I have a problem with the devise gem, I have this controller.

```
class AdminController < ApplicationController
  before_action :authenticate_user!
  def index
  end

  def per
  end

  def po        
  end
end

```

When redirect to sign\_in form , shows nothing

[sign\_in form](http://i.stack.imgur.com/Pt2DD.png)

These are my routes:

```
  match 'po' => 'admin#po', :via => :get
  match 'per' => 'admin#per', :via => :get
  match 'admin' => 'admin#index', :via => :get
  match 'admin/index' => 'admin#index', :via => :get
  match 'admin/per' => 'admin#per', :via => :get
  match 'admin/po' => 'admin#po', :via => :get       
  devise_for :users, :controllers => { :omniauth_callbacks => "callbacks" }      
  root 'home#index'

```

I have three templates: application, admin and home
I overwrite the default route after log in

```
class ApplicationController < ActionController::Base
  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception
  #before_action :authenticate_user!
  def after_sign_in_path_for(resource)
    #request.env['omniauth.origin'] || stored_location_for(resource) || admin_path
    admin_path    
  end
end

```

My last gem installed:

```
gem 'bootstrap-sass'

```