Using the Hartl Rails tutorial I built the Twitter clone app and have been working through adding new features to get even closer to actual Twitter as exercises. I am currently trying to add a method for adding posts (tweets) using a modal window in addition to the field on the feed page. I have used the Bootstrap modal feature in success and can post new posts using the modal window, and this is the issue, IF i am on the feed page.
If i try to leave the feed page heroku says the page is not available. through some debugging I have found that it appears the issue is that any of the other pages, besides the home feed page, do not have permission to post new tweets. Therefore when the page tries to load the form it crashes do to permission limits. I figured this out by trying render the micropost form on the user page, with my modal window removed, and i could not load user pages.
My bitbucket for this app is posted [here](https://bitbucket.org/jwillet1/sample_app/src) and the modal code is in the _header partial. [This](https://cryptic-spire-8268.herokuapp.com/) is the working website if you would like to see it in action.
Thank you for your attention.
Hopefully this is clear and someone might be able to help me get this to work.