Okechi Onyeje 9d17166e8f Dashboard integrated but with errors
- authentication routes are glitchy
- custom devise views are not being displayed properly
- routing issues and custom fields for devise routes and models
2017-01-19 15:42:49 -05:00

13 lines
200 B
Ruby

class DashboardController < ApplicationController
before_filter :deny_to_visitors
def index
end
def deny_to_visitors
redirect_to "/signin" unless user_signed_in?
end
end