Skip to content

Commit

Permalink
Update hiding_dashboards_from_sidebar.md
Browse files Browse the repository at this point in the history
Fixes the typo and adds some basic formatting.
  • Loading branch information
dharamgollapudi authored Jun 21, 2022
1 parent b459acf commit 1a225b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/hiding_dashboards_from_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Hiding Dashboards from the Sidebar
---

Resources can be removed form the sidebar by removing their index action from the routes. For example:
Resources can be removed from the sidebar by removing their `index` action from the routes. For example:

```ruby
# config/routes.rb
Expand All @@ -16,4 +16,4 @@ Rails.application.routes.draw do
end
```

In this case, only Orders and Products will appear in the sidebar, while Line Items can still appear as an association.
In this case, only `Orders` and `Products` will appear in the sidebar, while `Line Items` can still appear as an association.

0 comments on commit 1a225b6

Please sign in to comment.