diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb new file mode 100644 index 0000000..3889d62 --- /dev/null +++ b/app/controllers/profiles_controller.rb @@ -0,0 +1,10 @@ +class ProfilesController < ApplicationController + def show + end + + def edit + end + + def destroy + end +end diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 498b8ed..6a610e6 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -27,6 +27,6 @@ module ApplicationHelper end def profile? - controller.class.name.split("::").first=="Profile" + controller_name=="profiles" end end diff --git a/app/helpers/profiles_helper.rb b/app/helpers/profiles_helper.rb new file mode 100644 index 0000000..4e43050 --- /dev/null +++ b/app/helpers/profiles_helper.rb @@ -0,0 +1,2 @@ +module ProfilesHelper +end diff --git a/app/views/profiles/destroy.html.erb b/app/views/profiles/destroy.html.erb new file mode 100644 index 0000000..cc57c80 --- /dev/null +++ b/app/views/profiles/destroy.html.erb @@ -0,0 +1,4 @@ +
Find me in app/views/profiles/destroy.html.erb
+Find me in app/views/profiles/edit.html.erb
+Find me in app/views/profiles/show.html.erb
+