mirror of
https://github.com/moebooru/moebooru
synced 2025-08-30 21:45:13 +00:00
Remove extra newlines.
This commit is contained in:
@@ -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
|
||||
|
@@ -7,5 +7,4 @@ class BannedController < ApplicationController
|
||||
return
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
@@ -57,7 +57,6 @@ class UserController < ApplicationController
|
||||
end
|
||||
|
||||
def show
|
||||
|
||||
if params[:name]
|
||||
@user = User.find_by_name(params[:name])
|
||||
else
|
||||
|
@@ -381,7 +381,6 @@ class Pool < ActiveRecord::Base
|
||||
|
||||
buf
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
include PostMethods
|
||||
|
@@ -7,5 +7,4 @@ class UserRecord < ActiveRecord::Base
|
||||
def user=(name)
|
||||
self.user_id = User.find_by_name(name).id rescue nil
|
||||
end
|
||||
|
||||
end
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -76,6 +76,5 @@ module ActionView
|
||||
orig_button_to_function name, *args, &block
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
@@ -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:
|
||||
|
Reference in New Issue
Block a user