OSDN Git Service

deleted rails2 backups
authornomeu <nomeu@users.sourceforge.jp>
Sun, 3 Feb 2013 03:19:31 +0000 (12:19 +0900)
committernomeu <nomeu@users.sourceforge.jp>
Sun, 3 Feb 2013 03:19:31 +0000 (12:19 +0900)
.gitignore.rails2 [deleted file]
app/controllers/application_controller.rb.rails2 [deleted file]
app/helpers/application_helper.rb.rails2 [deleted file]
app/views/layouts/thumbs.html.erb [deleted file]
doc/README_FOR_APP.rails2 [deleted file]

diff --git a/.gitignore.rails2 b/.gitignore.rails2
deleted file mode 100644 (file)
index b8c4767..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-*.swp
-log/*.log
-log/mongrel.pid
diff --git a/app/controllers/application_controller.rb.rails2 b/app/controllers/application_controller.rb.rails2
deleted file mode 100644 (file)
index 711a909..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# Filters added to this controller apply to all controllers in the application.
-# Likewise, all the methods added will be available for all controllers.
-
-class ApplicationController < ActionController::Base
-  helper :all # include all helpers, all the time
-  protect_from_forgery # See ActionController::RequestForgeryProtection for details
-
-  # Scrub sensitive parameters from your log
-  # filter_parameter_logging :password
-  init_gettext "nimono"
-end
diff --git a/app/helpers/application_helper.rb.rails2 b/app/helpers/application_helper.rb.rails2
deleted file mode 100644 (file)
index 75eacbf..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-# Methods added to this helper will be available to all templates in the application.
-module ApplicationHelper
-
-  def content_for(name, content = nil, &block)
-    @has_content ||= {}
-    @has_content[name] = true
-    super(name, content, &block)
-  end
-
-  def has_content?(name)
-    (@has_content && @has_content[name]) || false
-  end
-
-  def current_headmenu?(options)
-    url = url_for(options)
-    re = Regexp.new(Regexp.escape(url) + '($|[/?])')
-    re.match(@controller.request.request_uri)
-  end
-
-  def link_menu_to(name, options = {}, html_options = {}, *parameters_for_method_reference, &block)
-    cp_p = current_headmenu?(options)
-    if cp_p
-      html_options.update(:class => 'selected')
-    end
-    link_to name, options, html_options, *parameters_for_method_reference, &block
-  end
-end
diff --git a/app/views/layouts/thumbs.html.erb b/app/views/layouts/thumbs.html.erb
deleted file mode 100644 (file)
index e2370af..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
-  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
-  <title>Thumbs: <%= controller.action_name %></title>
-  <%= stylesheet_link_tag 'scaffold' %>
-</head>
-<body>
-
-<p style="color: green"><%= flash[:notice] %></p>
-
-<%= yield %>
-
-</body>
-</html>
diff --git a/doc/README_FOR_APP.rails2 b/doc/README_FOR_APP.rails2
deleted file mode 100644 (file)
index fe41f5c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-Use this README file to introduce your application and point to useful places in the API for learning more.
-Run "rake doc:app" to generate API documentation for your models, controllers, helpers, and libraries.