Fix coding standards in application
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
class API::SoundsController < API::ApplicationController
|
||||
# FIXME: add some tests!
|
||||
def show
|
||||
sound = Sound.find params[:id]
|
||||
send_file sound.path, type: sound.mime_type
|
||||
module API
|
||||
class SoundsController < ApplicationController
|
||||
# FIXME: add some tests!
|
||||
def show
|
||||
sound = Sound.find params[:id]
|
||||
send_file sound.path, type: sound.mime_type
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user