Hello, Hello
I have very strange problem, when i try to edit or create a big text have this error "Routing Error
no route found to match "/error.php" with {:method=>:get}"
When i user the console it's work
I have this problem on my server of production
Can you help me
def create @enseignement = Enseignement.new(params[:enseignement]) @enseignement.save! flash[:notice] = 'Enseignement a été ajouté.' redirect_to enseignement_url(:id => @enseignement) rescue ActiveRecord::RecordInvalid render :action => :new end
def update @enseignement = Enseignement.find(params[:id]) if @enseignement.update_attributes(params[:enseignement]) flash[:notice] = 'Enseignement a été modifié.' redirect_to enseignement_path(:id => @enseignement) else render :action => "edit" end end