|
|
|
@ -20,7 +20,6 @@ class WebFooterCompaniesController < ApplicationController
|
|
|
|
|
redirect_to web_footer_companies_path
|
|
|
|
|
else
|
|
|
|
|
flash[:error] = "#{l :web_footer_company_create_fail}: #{@company.errors.full_messages[0]}"
|
|
|
|
|
new
|
|
|
|
|
render :action => 'new'
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
@ -42,7 +41,6 @@ class WebFooterCompaniesController < ApplicationController
|
|
|
|
|
redirect_to web_footer_companies_path
|
|
|
|
|
else
|
|
|
|
|
flash[:error] = "#{l :web_footer_company_update_fail}: #{@company.errors.full_messages[0]}"
|
|
|
|
|
edit
|
|
|
|
|
render :action => 'edit'
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|