Changed root_path to posts#index