user role scoped layout and controller

This commit is contained in:
Min Zeya Phyo
2017-04-20 22:29:39 +06:30
parent fd52038781
commit e1e102fd15
16 changed files with 230 additions and 19 deletions

View File

@@ -33,7 +33,6 @@ class HomeController < ApplicationController
def destroy
session[:session_token] = nil
redirect_to root_path
end
private