```ruby
class EventsController < ApplicationController

	def new
		@event = Event.new
		render partial: 'new', locals: { event: @event }
	end

	def create
		Event.create(details: params[:event][:details])
	end
end
```

Add strong_params to event controller
user
```ruby
class EventsController < ApplicationController

	def new
		@event = Event.new
		render partial: 'new', locals: { event: @event }
	end

	def create
		Event.create( event_params )
	end

  def event_params
    params.require(:event).permit(:details, :submitter, :offender, :location, :date, :event_photo)
  end

end
```
assistant