aboutsummaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorTeddy Wing2017-06-14 18:04:37 +0200
committerTeddy Wing2017-06-14 18:04:37 +0200
commit07c50e21b45b8fcf219410cbfb71f1c1e67e81b6 (patch)
tree8c328ed29f79bc309f7108c5549cf20e7cd0c4e2 /script
parentb616626283a5e24d2b9996669c0978787229d9db (diff)
downloadchouette-core-07c50e21b45b8fcf219410cbfb71f1c1e67e81b6.tar.bz2
TableBuilderHelper#build_links: Use existing `pundit_user` method
Instead of creating our own `user_context`, reuse the existing `ApplicationController#pundit_user` method to get the context. When I defined `user_context` I had done a project-find, found the one place where we created a `UserContext`, and duplicated the code in my method. Turns out after looking at the full `ApplicationController` file, there's a handy method already there for us to use. Refs #3479
Diffstat (limited to 'script')
0 files changed, 0 insertions, 0 deletions