blob: ed48e3ce8e725a5fb71d0c4031ed6a94f1e0056c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class PageController < ApplicationController
# load_and_authorize_resource :class => false
# CanCan doesn't work here really good because Page is not a resource.
skip_before_filter :home_breadcrumb, :only => [:index]
def index
if current_user
redirect_to [current_user.current_tenant, current_user]
end
end
def help
end
end
|