]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/notes_controller.rb
Remove unnecessary layout calls from api controllers
[rails.git] / app / controllers / api / notes_controller.rb
index a73240e5fabc4f849780cbcb9e2dd42a26c30352..cd71b437457e302f2e33c13d6faf90f9761c5e6f 100644 (file)
@@ -1,7 +1,5 @@
 module Api
   class NotesController < ApiController
-    layout "site", :only => [:mine]
-
     before_action :check_api_readable
     before_action :setup_user_auth, :only => [:create, :comment, :show]
     before_action :authorize, :only => [:close, :reopen, :destroy, :comment]