From 81281befb2d85a1d59f8cdf1ef6bbb7e206df2a4 Mon Sep 17 00:00:00 2001 From: spyhole Date: Sat, 2 Jun 2012 12:17:48 +0800 Subject: Update guides/code/getting_started/app/controllers/home_controller.rb --- guides/code/getting_started/app/controllers/home_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/code/getting_started/app') diff --git a/guides/code/getting_started/app/controllers/home_controller.rb b/guides/code/getting_started/app/controllers/home_controller.rb index 309b70441e..6cc31c1ca3 100644 --- a/guides/code/getting_started/app/controllers/home_controller.rb +++ b/guides/code/getting_started/app/controllers/home_controller.rb @@ -1,4 +1,4 @@ -class WelcomeController < ApplicationController +class HomeController < ApplicationController def index end -- cgit v1.2.3 From 890c4b7778335d1f3c4693bd52d9a07b3c0fa40e Mon Sep 17 00:00:00 2001 From: spyhole Date: Sat, 2 Jun 2012 13:20:17 +0800 Subject: the file name should be changed to home_helper.rb --- guides/code/getting_started/app/helpers/welcome_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/code/getting_started/app') diff --git a/guides/code/getting_started/app/helpers/welcome_helper.rb b/guides/code/getting_started/app/helpers/welcome_helper.rb index eeead45fc9..23de56ac60 100644 --- a/guides/code/getting_started/app/helpers/welcome_helper.rb +++ b/guides/code/getting_started/app/helpers/welcome_helper.rb @@ -1,2 +1,2 @@ -module WelcomeHelper +module HomeHelper end -- cgit v1.2.3 From cd31eb19dd5accb02335d998d1031ac5a223cb34 Mon Sep 17 00:00:00 2001 From: spyhole Date: Fri, 1 Jun 2012 02:56:42 -0400 Subject: change welcome_helper.rb to home_helper.rb --- guides/code/getting_started/app/helpers/home_helper.rb | 2 ++ guides/code/getting_started/app/helpers/welcome_helper.rb | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 guides/code/getting_started/app/helpers/home_helper.rb delete mode 100644 guides/code/getting_started/app/helpers/welcome_helper.rb (limited to 'guides/code/getting_started/app') diff --git a/guides/code/getting_started/app/helpers/home_helper.rb b/guides/code/getting_started/app/helpers/home_helper.rb new file mode 100644 index 0000000000..23de56ac60 --- /dev/null +++ b/guides/code/getting_started/app/helpers/home_helper.rb @@ -0,0 +1,2 @@ +module HomeHelper +end diff --git a/guides/code/getting_started/app/helpers/welcome_helper.rb b/guides/code/getting_started/app/helpers/welcome_helper.rb deleted file mode 100644 index 23de56ac60..0000000000 --- a/guides/code/getting_started/app/helpers/welcome_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module HomeHelper -end -- cgit v1.2.3 From 983687a9e55915c22b84b60b45ca2b40794cf9a2 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sat, 2 Jun 2012 21:38:32 +0530 Subject: fix up the example app for getting started guide [ci skip] --- guides/code/getting_started/app/controllers/home_controller.rb | 5 ----- guides/code/getting_started/app/controllers/welcome_controller.rb | 4 ++++ guides/code/getting_started/app/helpers/home_helper.rb | 2 -- guides/code/getting_started/app/helpers/welcome_helper.rb | 2 ++ 4 files changed, 6 insertions(+), 7 deletions(-) delete mode 100644 guides/code/getting_started/app/controllers/home_controller.rb create mode 100644 guides/code/getting_started/app/controllers/welcome_controller.rb delete mode 100644 guides/code/getting_started/app/helpers/home_helper.rb create mode 100644 guides/code/getting_started/app/helpers/welcome_helper.rb (limited to 'guides/code/getting_started/app') diff --git a/guides/code/getting_started/app/controllers/home_controller.rb b/guides/code/getting_started/app/controllers/home_controller.rb deleted file mode 100644 index 6cc31c1ca3..0000000000 --- a/guides/code/getting_started/app/controllers/home_controller.rb +++ /dev/null @@ -1,5 +0,0 @@ -class HomeController < ApplicationController - def index - end - -end diff --git a/guides/code/getting_started/app/controllers/welcome_controller.rb b/guides/code/getting_started/app/controllers/welcome_controller.rb new file mode 100644 index 0000000000..f9b859b9c9 --- /dev/null +++ b/guides/code/getting_started/app/controllers/welcome_controller.rb @@ -0,0 +1,4 @@ +class WelcomeController < ApplicationController + def index + end +end diff --git a/guides/code/getting_started/app/helpers/home_helper.rb b/guides/code/getting_started/app/helpers/home_helper.rb deleted file mode 100644 index 23de56ac60..0000000000 --- a/guides/code/getting_started/app/helpers/home_helper.rb +++ /dev/null @@ -1,2 +0,0 @@ -module HomeHelper -end diff --git a/guides/code/getting_started/app/helpers/welcome_helper.rb b/guides/code/getting_started/app/helpers/welcome_helper.rb new file mode 100644 index 0000000000..eeead45fc9 --- /dev/null +++ b/guides/code/getting_started/app/helpers/welcome_helper.rb @@ -0,0 +1,2 @@ +module WelcomeHelper +end -- cgit v1.2.3