Changed alert message character: from & to and

This commit is contained in:
Martin Cabrera 2017-01-15 01:12:19 +01:00
parent ec1556ca36
commit c2283a2db7
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ class Projects::CompareController < Projects::ApplicationController
def create
if params[:from].blank? || params[:to].blank?
flash[:alert] = "You must select from & to branches"
flash[:alert] = "You must select from and to branches"
byebug
redirect_to namespace_project_compare_index_path
else
redirect_to namespace_project_compare_path(@project.namespace, @project,