Add coverage for media#player
, move body class to view (#31790)
This commit is contained in:
parent
b530fc5267
commit
4f81ad2494
3 changed files with 26 additions and 3 deletions
|
@ -19,9 +19,7 @@ class MediaController < ApplicationController
|
|||
redirect_to @media_attachment.file.url(:original)
|
||||
end
|
||||
|
||||
def player
|
||||
@body_classes = 'player'
|
||||
end
|
||||
def player; end
|
||||
|
||||
private
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue