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

Attempt to address discourse in a directory issue #25 #226

Merged
merged 8 commits into from
Apr 24, 2017

Conversation

nspring
Copy link
Contributor

@nspring nspring commented Mar 30, 2016

Sam: This is a suggested patch to try to handle the Discourse issue that revived #25. It does not break my install (the whole application is run in a directory by passenger), and assumes both that the prior code worked and was necessary (action_controller.instance was defined for the mounted engine) so that all that is necessary to fix the issue is to compose the two variables.

How to run discourse in this configuration seemed pretty involved and under-documented, so reproducing the bug seemed tricky with nothing but your comment on #25 to go on.

@codecov-io
Copy link

Codecov Report

Merging #226 into master will decrease coverage by 0.05%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #226      +/-   ##
==========================================
- Coverage   85.28%   85.22%   -0.06%     
==========================================
  Files          21       21              
  Lines        1196     1198       +2     
==========================================
+ Hits         1020     1021       +1     
- Misses        176      177       +1
Impacted Files Coverage Δ
lib/mini_profiler/profiler.rb 73.05% <66.66%> (-0.14%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae06f56...29fa213. Read the comment docs.

@SamSaffron
Copy link
Member

Thanks, let's try it out, looks like it could work

cc @FooBarWidget

@SamSaffron SamSaffron merged commit 1d72949 into MiniProfiler:master Apr 24, 2017
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