frontend view layout
This commit is contained in:
9
app/controllers/base_oqs_controller.rb
Normal file
9
app/controllers/base_oqs_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class BaseOqsController < ActionController::Base
|
||||
include LoginVerification
|
||||
layout "OQS"
|
||||
|
||||
#before_action :check_installation
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
|
||||
end
|
||||
9
app/controllers/base_origami_controller.rb
Normal file
9
app/controllers/base_origami_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class BaseOrigamiController < ActionController::Base
|
||||
include LoginVerification
|
||||
layout "origami"
|
||||
|
||||
#before_action :check_installation
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
|
||||
end
|
||||
9
app/controllers/base_waiter_controller.rb
Normal file
9
app/controllers/base_waiter_controller.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class BaseWaiterController < ActionController::Base
|
||||
include LoginVerification
|
||||
layout "waiter"
|
||||
|
||||
#before_action :check_installation
|
||||
protect_from_forgery with: :exception
|
||||
|
||||
|
||||
end
|
||||
6
app/controllers/oqs/home_controller.rb
Normal file
6
app/controllers/oqs/home_controller.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class Oqs::HomeController < BaseOqsController
|
||||
def index
|
||||
end
|
||||
def show
|
||||
end
|
||||
end
|
||||
6
app/controllers/origami/home_controller.rb
Normal file
6
app/controllers/origami/home_controller.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class Origami::HomeController < BaseOrigamiController
|
||||
def index
|
||||
end
|
||||
def show
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user