Commit c2283a2d authored by Martin Cabrera's avatar Martin Cabrera

Changed alert message character: from & to and

parent ec1556ca
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment