2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-30 21:45:13 +00:00

Remove extra newlines.

This commit is contained in:
edogawaconan
2014-08-23 17:23:26 +09:00
parent a1a299786d
commit e468f9e46e
9 changed files with 0 additions and 10 deletions

View File

@@ -234,7 +234,6 @@ class ApplicationController < ActionController::Base
@record = record
render :status => 500, :layout => "bare", :inline => "<%= render 'shared/error_messages', :object => @record %>"
end
end
include LoginSystem

View File

@@ -7,5 +7,4 @@ class BannedController < ApplicationController
return
end
end
end

View File

@@ -57,7 +57,6 @@ class UserController < ApplicationController
end
def show
if params[:name]
@user = User.find_by_name(params[:name])
else

View File

@@ -381,7 +381,6 @@ class Pool < ActiveRecord::Base
buf
end
end
include PostMethods

View File

@@ -7,5 +7,4 @@ class UserRecord < ActiveRecord::Base
def user=(name)
self.user_id = User.find_by_name(name).id rescue nil
end
end

View File

@@ -84,6 +84,5 @@ module Moebooru
# Save cache in different location to avoid collision.
config.action_controller.page_cache_directory = config.root.join("public", "cache")
end
end

View File

@@ -18,7 +18,6 @@ class CreateAdvertisements < ActiveRecord::Migration
execute "insert into advertisements (image_url, referral_url, ad_type, status, hit_count, width, height) values ('/images/728x90_2.jpg', 'http://affiliates.jlist.com/click/2253?url=http://www.jlist.com/index.html', 'horizontal', 'active', 0, 728, 90)"
execute "insert into advertisements (image_url, referral_url, ad_type, status, hit_count, width, height) values ('/images/728x90_3.jpg', 'http://affiliates.jlist.com/click/2253?url=http://www.jlist.com/index.html', 'horizontal', 'active', 0, 728, 90)"
execute "insert into advertisements (image_url, referral_url, ad_type, status, hit_count, width, height) values ('/images/728x90_4.jpg', 'http://affiliates.jlist.com/click/2253?url=http://www.jlist.com/index.html', 'horizontal', 'active', 0, 728, 90)"
end
def self.down

View File

@@ -76,6 +76,5 @@ module ActionView
orig_button_to_function name, *args, &block
end
end
end
end

View File

@@ -646,7 +646,6 @@ module ActionView
# Converts chained method calls on DOM proxy elements into JavaScript chains
class JavaScriptProxy < ActiveSupport::BasicObject #:nodoc:
def initialize(generator, root = nil)
@generator = generator
@generator << root if root
@@ -716,7 +715,6 @@ module ActionView
def reload(options_for_replace = {})
replace(options_for_replace.merge({ :partial => @id.to_s }))
end
end
class JavaScriptVariableProxy < JavaScriptProxy #:nodoc: