fixing login and logout issues
changes for post show
fixed conflicts between 2 banches
Merge branch 'fixPosts'
fixed conflicts for user model and controller
fixed all conflicts from postComments branch.
added a status feed of the current user on he default home page along with a text box to create a new post. The name of the user along with the post is currently not functional.
resolving conflicts from newsFeed
added friendhips model and added assocations for followers and following. As well as this added method for follw.
sessions control removed incorrect revision names from branch
added redirect to user show page after login.
added follower, following, unfollow and follow methods in the user model. Also created sample friendships to work with for building the user interface.
added partial to display the number of following and followed users. Also fixed routes for registration.
added user stats for following and followed on the profile page. added follow and unfollow buttons when on another user's profile and not your own.
removed the new post form from the profile page. user can only post a new status from the main home page.
added following and followers actions in the users controller to display the relevant list of users. Added a new partial in the user's view to display the user's information on the following and followers page.
added the actions in the friendships controller to mae the follow/unfollow buttons work. a loged in user can navigate to another user's profile and click on the follow/unfollow button.
fixed conflicts in the sessions controller after merging friendhips branch into master.
added ajax to the follow/unfollow buttons on the user profile page.
fixed user model by using lowercase assocations. added user names against the posts in the newsfeed along with an option to delete for current user posts.