summaryrefslogtreecommitdiff
path: root/app/controllers/profiles/application_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/profiles/application_controller.rb')
-rw-r--r--app/controllers/profiles/application_controller.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/controllers/profiles/application_controller.rb b/app/controllers/profiles/application_controller.rb
new file mode 100644
index 00000000000..8373ff7a758
--- /dev/null
+++ b/app/controllers/profiles/application_controller.rb
@@ -0,0 +1,11 @@
+class Profiles::ApplicationController < ApplicationController
+ before_action :set_title
+
+ private
+
+ def set_title
+ @title = "Profile"
+ @title_url = profile_path
+ @sidebar = "profile"
+ end
+end