Fixes #voodoorai2000 comments
Fixes some comments from #voodoorai2000 for the PR to consul
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
class Dashboard::BaseController < ApplicationController
|
||||
before_action :authenticate_user!
|
||||
|
||||
include Dashboard::HasProposal
|
||||
|
||||
helper_method :proposal, :proposed_actions, :resource, :resources, :next_goal, :next_goal_supports, :next_goal_progress, :community_members_count
|
||||
|
||||
respond_to :html
|
||||
@@ -8,10 +10,6 @@ class Dashboard::BaseController < ApplicationController
|
||||
|
||||
private
|
||||
|
||||
def proposal
|
||||
@proposal ||= Proposal.includes(:community).find(params[:proposal_id])
|
||||
end
|
||||
|
||||
def proposed_actions
|
||||
@proposed_actions ||= Dashboard::Action.proposed_actions.active_for(proposal).order(order: :asc)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user