OSDN Git Service

t#29689:test layout flag droppable
[pettanr/pettanr.git] / app / controllers / system_pictures_controller.rb
index e43e672..4d341f7 100644 (file)
@@ -1,5 +1,5 @@
 class SystemPicturesController < ApplicationController
-  layout 'test' if Pettanr::TestLayout
+  layout 'test' if Pettanr::Application.test_layout
   before_filter :authenticate_user!, :only => [:index, :show]
   before_filter :authenticate_admin!, :only => [:list, :browse, :new, :create]