scinote-web/app/controllers/dashboards_controller.rb

12 lines
293 B
Ruby
Raw Normal View History

2020-02-13 20:50:29 +08:00
# frozen_string_literal: true
class DashboardsController < ApplicationController
include TeamsHelper
before_action :switch_team_with_param, only: :show
def show
@my_module_status_flows = MyModuleStatusFlow.all.preload(my_module_statuses: :my_module_status_consequences)
end
2020-02-13 20:50:29 +08:00
end