-
Notifications
You must be signed in to change notification settings - Fork 8
Removing Posts
Saumya Kanoria edited this page Apr 28, 2016
·
2 revisions
We use posts (the model, controller and associated UI) to illustrate the tools and functionality this starter kit makes available to you. However, it is unlikely that you will use posts as-is in your application, in which case you will need to hide/disable it. Follow these steps:
- Comment out
resources :postsin /config/routes.rb - Comment out
<li><a href="/#/posts">Posts</a></li>in app/views/layouts/_top_nav.html - Comment out
<li><a href="/admin/#/posts">Posts</a></li>in app/views/layouts/admin/_top_nav.html
Thats it!