Refactored profile area
This commit is contained in:
parent
8f9a450eed
commit
dc37c8aaae
15 changed files with 104 additions and 68 deletions
|
@ -104,7 +104,8 @@ module ApplicationHelper
|
|||
|
||||
# Profile Area
|
||||
when :profile; current_page?(controller: "profile", action: :show)
|
||||
when :password; current_page?(controller: "profile", action: :password)
|
||||
when :history; current_page?(controller: "profile", action: :history)
|
||||
when :account; current_page?(controller: "profile", action: :account)
|
||||
when :token; current_page?(controller: "profile", action: :token)
|
||||
when :design; current_page?(controller: "profile", action: :design)
|
||||
when :ssh_keys; controller.controller_name == "keys"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue