Skip to content

Conversation

@briri
Copy link
Contributor

@briri briri commented Apr 1, 2021

@raycarrick-ed I noticed that the 'Add contributor' page was failing because it was not setting the org_partial. I also noticed that the 'Sign in' menu was still trying to open the modal sign in/create account form that you removed.

This PR refactors those recent changes a bit.

  • Move setting of @all_orgs and @org_partial to the OrgSelectable concern which sets them in a before_action hook
  • Update 'Sign in' link in nav menu to send user to the root_path instead of trying to open the modal popup that was removed

@briri briri requested a review from raycarrick-ed April 1, 2021 12:27
Copy link
Contributor

@raycarrick-ed raycarrick-ed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a lot neater. Excellent.

@raycarrick-ed raycarrick-ed merged commit 13c790a into master Apr 7, 2021
@briri briri deleted the org-selector-refactor branch September 8, 2021 21:32
portagenetwork pushed a commit to portagenetwork/roadmap that referenced this pull request Feb 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants