OSDN Git Service

fix Manifest
[pettanr/pettanr.git] / app / controllers / system_pictures_controller.rb
index 99bd740..58bd89b 100644 (file)
@@ -1,6 +1,5 @@
 class SystemPicturesController < ApplicationController
-  layout 'test' if MagicNumber['test_layout']
-  if MagicNumber['run_mode'] == 0
+  if Manifest.manifest.magic_numbers['run_mode'] == 0
     before_filter :authenticate_user, :only => []
     before_filter :authenticate_author, :only => []
   else