write in 1 single line actions with no body

Conflicts:
	app/controllers/admin/contacts_controller.rb
This commit is contained in:
Stella Rouzi 2014-08-12 22:27:02 +03:00
parent f5081813d9
commit f169049003
10 changed files with 11 additions and 22 deletions

View file

@ -8,8 +8,7 @@ module Admin
authorize! :update, Lodging.new(venue_id: @venue.id)
end
def show
end
def show; end
def update
if @venue.update_attributes(params[:venue])