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 @@ class CommercialsController < ApplicationController
authorize! :new, @commercial
end
def edit
end
def edit; end
def create
@commercial = @event.commercials.build(commercial_params)