mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 19:57:41 +00:00
- authentication routes are glitchy - custom devise views are not being displayed properly - routing issues and custom fields for devise routes and models
13 lines
200 B
Ruby
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
|