From f9c4ff1d08591894d7a44c6a6dc1619e83ac4962 Mon Sep 17 00:00:00 2001 From: Gopesh Tulsyan Date: Mon, 16 Jun 2014 22:59:21 +0530 Subject: [PATCH] Changed description in lodgings controller and conference#edit --- app/controllers/admin/lodgings_controller.rb | 2 +- app/views/admin/conference/edit.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/admin/lodgings_controller.rb b/app/controllers/admin/lodgings_controller.rb index 554c8107..34dfa628 100644 --- a/app/controllers/admin/lodgings_controller.rb +++ b/app/controllers/admin/lodgings_controller.rb @@ -16,7 +16,7 @@ module Admin notice: 'Lodgings were successfully updated.') else redirect_to(admin_conference_lodgings_path(conference_id: @conference.short_title), - notice: 'Lodgings Updation Failed!') + notice: 'Updating lodgings failed!') end end end diff --git a/app/views/admin/conference/edit.html.haml b/app/views/admin/conference/edit.html.haml index 38accd19..f0efbb86 100644 --- a/app/views/admin/conference/edit.html.haml +++ b/app/views/admin/conference/edit.html.haml @@ -18,7 +18,7 @@ = f.input :ticket_description, hint: 'This will appear in the Tickets segment of the splash' = f.input :sponsor_description, hint: 'This will appear in the sponsor segment of the splash' = f.input :sponsor_email, hint: 'This will appear in the sponsor segment of the splash for the sponsors to contact to the organizers' - = f.input :lodging_description, hint: 'This will appear in the lodging segement of the splash' + = f.input :lodging_description, hint: 'This will appear in the lodging segment of the splash' = f.inputs :name => "Media" do - if !@conference.logo.blank?