-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure admin navigation (#1278)
- Loading branch information
Showing
4 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- if can?(:index, Event::Level) | ||
= nav Event::Level.model_name.human(count: 2), event_levels_path, %w(event_levels) | ||
- if can?(:index, CourseCompensationRate) | ||
= nav CourseCompensationRate.model_name.human(count: 2), course_compensation_rates_path, %w(course_compensation_rates) | ||
- if can?(:index, CourseCompensationCategory) | ||
= nav CourseCompensationCategory.model_name.human(count: 2), course_compensation_categories_path, %w(course_compensation_categories) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
- if can?(:index, Event::Level) | ||
= nav Event::Level.model_name.human(count: 2), event_levels_path, %w(event_levels) | ||
- if can?(:index, TerminationReason) | ||
= nav TerminationReason.model_name.human(count: 2), termination_reasons_path, %w(termination_reasons) | ||
- if can?(:index, CourseCompensationRate) | ||
= nav CourseCompensationRate.model_name.human(count: 2), course_compensation_rates_path, %w(course_compensation_rates) | ||
- if can?(:index, CourseCompensationCategory) | ||
= nav CourseCompensationCategory.model_name.human(count: 2), course_compensation_categories_path, %w(course_compensation_categories) | ||
- if can?(:index, CostCenter) | ||
= nav CostCenter.model_name.human(count: 2), cost_centers_path, %w(cost_centers) | ||
- if can?(:index, CostUnit) | ||
= nav CostUnit.model_name.human(count: 2), cost_units_path, %w(cost_units) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters