Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix subpath not added to transaction_controller and holder_controller #5786

Conversation

mofhusseini
Copy link
Contributor

@mofhusseini mofhusseini commented Aug 2, 2022

  • Update current_path to equal Controller.current_full_path(conn)

related to: #4501

GitHub keywords to close any associated issues

Motivation

Why we should merge these changes. If using GitHub keywords to close issues, this is optional as the motivation can be read on the issue page.

Changelog

Enhancements

Things you added that don't break anything. Regression tests for Bug Fixes count as Enhancements.

Bug Fixes

Things you changed that fix bugs. If a fixes a bug, but in so doing adds a new requirement, removes code, or requires a database reset and reindex, the breaking part of the change should be added to Incompatible Changes below also.

Incompatible Changes

Things you broke while doing Enhancements and Bug Fixes. Breaking changes include (1) adding new requirements and (2) removing code. Renaming counts as (2) because a rename is a removal followed by an add.

Upgrading

If you have any Incompatible Changes in the above Changelog, outline how users of prior versions can upgrade once this PR lands or when reviewers are testing locally. A common upgrading step is "Database reset and re-index required".

Checklist for your Pull Request (PR)

- Update current_path to equal Controller.current_full_path(conn)
@mofhusseini mofhusseini force-pushed the fix/transactions_do_not_add_subpath branch from ab21182 to 00b6fdd Compare August 2, 2022 18:07
@mofhusseini
Copy link
Contributor Author

@nikitosing how can I fix the static analysis error in the checks?

lib/block_scout_web/controllers/tokens/instance/holder_controller.ex:65:unknown_function
Warning: Function BlockscoutWeb.Controller.current_full_path/1 does not exist.

I thought this would fix the issue

alias BlockscoutWeb.Controller

Sorry not very familiar with elixir

@nikitosing
Copy link
Member

@mofhusseini replace your BlockscoutWeb with BlockScoutWeb

@nikitosing
Copy link
Member

nikitosing commented Aug 4, 2022

Finalized in #5801

@nikitosing nikitosing closed this Aug 4, 2022
@floragh
Copy link

floragh commented Oct 11, 2023

the best!

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.

None yet

3 participants