Skip to content

Commit

Permalink
[rubyforgood#4504] Introduce feature flag to control whether a new pa…
Browse files Browse the repository at this point in the history
…rtner step form should be rendered
  • Loading branch information
danielabar committed Sep 22, 2024
1 parent 12cebbc commit d0635b3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/controllers/partners/profiles_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ def show; end
def edit
@counties = County.in_category_name_order
@client_share_total = current_partner.profile.client_share_total

if Flipper.enabled?("partner_step_form")
render "partners/profiles/step/edit"
else
render "edit"
end
end

def update
Expand Down
1 change: 1 addition & 0 deletions app/views/partners/profiles/step/edit.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h2>Placeholder for Partner Step Form</h2>

0 comments on commit d0635b3

Please sign in to comment.