OSDN Git Service

rename license group controller
authoryasushiito <yas@pen-chan.jp>
Tue, 26 Jun 2012 09:36:01 +0000 (18:36 +0900)
committeryasushiito <yas@pen-chan.jp>
Tue, 26 Jun 2012 09:36:01 +0000 (18:36 +0900)
app/controllers/license_groups_controller.rb [moved from app/controllers/license_group_controller.rb with 94% similarity]
app/helpers/license_group_helper.rb [deleted file]
app/helpers/license_groups_helper.rb [new file with mode: 0644]
app/views/license_groups/browse.html.erb [moved from app/views/license_group/browse.html.erb with 100% similarity]
app/views/license_groups/list.html.erb [moved from app/views/license_group/list.html.erb with 97% similarity]
spec/controllers/license_group_controller_spec.rb [deleted file]
spec/controllers/license_groups_controller_spec.rb [new file with mode: 0644]
spec/helpers/license_groups_helper_spec.rb [moved from spec/helpers/license_group_helper_spec.rb with 84% similarity]

similarity index 94%
rename from app/controllers/license_group_controller.rb
rename to app/controllers/license_groups_controller.rb
index a76c4a4..19a1b77 100644 (file)
@@ -1,4 +1,4 @@
-class LicenseGroupController < ApplicationController
+class LicenseGroupsController < ApplicationController
   before_filter :authenticate_admin!, :only => [:list, :browse]
   
   # GET /license_groups
diff --git a/app/helpers/license_group_helper.rb b/app/helpers/license_group_helper.rb
deleted file mode 100644 (file)
index 0c2564b..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-module LicenseGroupHelper
-end
diff --git a/app/helpers/license_groups_helper.rb b/app/helpers/license_groups_helper.rb
new file mode 100644 (file)
index 0000000..0f9c6f3
--- /dev/null
@@ -0,0 +1,2 @@
+module LicenseGroupsHelper
+end
similarity index 97%
rename from app/views/license_group/list.html.erb
rename to app/views/license_groups/list.html.erb
index 71cc202..9d99f86 100644 (file)
@@ -9,7 +9,6 @@
     <th>url</th>
     <th>created_at</th>
     <th>updated_at</th>
-    <th></th>
   </tr>
 
 <% @license_groups.each do |lg| %>
diff --git a/spec/controllers/license_group_controller_spec.rb b/spec/controllers/license_group_controller_spec.rb
deleted file mode 100644 (file)
index ea21c4e..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-require 'spec_helper'
-
-describe LicenseGroupController do
-
-end
diff --git a/spec/controllers/license_groups_controller_spec.rb b/spec/controllers/license_groups_controller_spec.rb
new file mode 100644 (file)
index 0000000..a269321
--- /dev/null
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe LicenseGroupsController do
+
+end
similarity index 84%
rename from spec/helpers/license_group_helper_spec.rb
rename to spec/helpers/license_groups_helper_spec.rb
index 9ca2df5..5b68da9 100644 (file)
@@ -3,13 +3,13 @@ require 'spec_helper'
 # Specs in this file have access to a helper object that includes
 # the LicenseGroupHelper. For example:
 #
-# describe LicenseGroupHelper do
+# describe LicenseGroupsHelper do
 #   describe "string concat" do
 #     it "concats two strings with spaces" do
 #       helper.concat_strings("this","that").should == "this that"
 #     end
 #   end
 # end
-describe LicenseGroupHelper do
+describe LicenseGroupsHelper do
   pending "add some examples to (or delete) #{__FILE__}"
 end