Fix coding standards in application

This commit is contained in:
Thibault Jouan
2014-04-01 19:02:23 +00:00
parent aca19eb51f
commit e6f6475705
5 changed files with 54 additions and 44 deletions

View File

@@ -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