app/controllers/flyboy/goals_controller.rb in flyboy-0.0.5 vs app/controllers/flyboy/goals_controller.rb in flyboy-0.0.6
- old
+ new
@@ -80,10 +80,10 @@
def open
if @goal.open!
flash[:success] = t("messages.goals.open_ok")
else
- findlash[:danger] = t("messages.goals.open_error")
+ flash[:danger] = t("messages.goals.open_error")
end
redirect_to @goal
end