diff options
author | Matt Jankowski <mjankowski@thoughtbot.com> | 2017-04-24 11:30:30 -0400 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-24 17:30:30 +0200 |
commit | 092fdc89fa5b2a1ba2ac0a0dfe5149814a179ec8 (patch) | |
tree | 424adb1bb04d6c9ce0adf92d47083f69fc664be5 /app/views/layouts | |
parent | d000a0b58a9895253fa62da13add44b4a3e828f8 (diff) |
Fix flashes partial render error for controllers which don't inherit from application controller (#2400)
* Add failing spec for oauth/authorized_applications controller * Use explicit reference to flashes partial from admin layout Because some of the controllers which use the admin layout do not inherit from application controller, this partial is not in their view path.
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/admin.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml index d2cff5e30..d3d97e3a0 100644 --- a/app/views/layouts/admin.html.haml +++ b/app/views/layouts/admin.html.haml @@ -13,7 +13,7 @@ .content %h2= yield :page_title - = render 'flashes' + = render 'application/flashes' = yield |