mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-27 00:04:15 +00:00
092fdc89fa
* 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.
21 lines
510 B
Plaintext
21 lines
510 B
Plaintext
- content_for :header_tags do
|
|
= javascript_include_tag 'application_public', integrity: true, crossorigin: 'anonymous'
|
|
|
|
- content_for :content do
|
|
.admin-wrapper
|
|
.sidebar-wrapper
|
|
.sidebar
|
|
= link_to root_path do
|
|
= image_tag 'logo.png', class: 'logo'
|
|
|
|
= render_navigation
|
|
.content-wrapper
|
|
.content
|
|
%h2= yield :page_title
|
|
|
|
= render 'application/flashes'
|
|
|
|
= yield
|
|
|
|
= render template: "layouts/application", locals: { body_classes: 'admin' }
|