Extract method to include stat graphs JavaScript
We're going to use this method everywhere in the admin stats section.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class Admin::Stats::BudgetSupportingComponent < ApplicationComponent
|
||||
attr_reader :budget
|
||||
use_helpers :include_stat_graphs_javascript
|
||||
|
||||
def initialize(budget)
|
||||
@budget = budget
|
||||
|
||||
Reference in New Issue
Block a user