frontend view layout

This commit is contained in:
Min Zeya Phyo
2017-04-21 05:07:00 +06:30
parent e1e102fd15
commit db3b50a496
16 changed files with 795 additions and 18 deletions

View File

@@ -0,0 +1,9 @@
class BaseOqsController < ActionController::Base
include LoginVerification
layout "OQS"
#before_action :check_installation
protect_from_forgery with: :exception
end

View File

@@ -0,0 +1,9 @@
class BaseOrigamiController < ActionController::Base
include LoginVerification
layout "origami"
#before_action :check_installation
protect_from_forgery with: :exception
end

View File

@@ -0,0 +1,9 @@
class BaseWaiterController < ActionController::Base
include LoginVerification
layout "waiter"
#before_action :check_installation
protect_from_forgery with: :exception
end

View File

@@ -0,0 +1,6 @@
class Oqs::HomeController < BaseOqsController
def index
end
def show
end
end

View File

@@ -0,0 +1,6 @@
class Origami::HomeController < BaseOrigamiController
def index
end
def show
end
end