tuist/projects/cloud/app/controllers/application_controller.rb

13 lines
243 B
Ruby

# frozen_string_literal: true
class ApplicationController < ActionController::Base
include Pundit::Authorization
before_action :authenticate_user!
protect_from_forgery with: :null_session
def app
render(layout: "app")
end
end