Skip to content

Commit

Permalink
Update default start/end date to the day before/during the march
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Nov 28, 2016
1 parent 99d09da commit 74c2e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/hostings_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class HostingsController < ApplicationController
before_action :ensure_current_user_is_host, only: [:edit, :update, :destroy]

def new
@hosting ||= Hosting.new(host_id: params[:user_id], start_date: nil, end_date: nil)
@hosting ||= Hosting.new(host_id: params[:user_id], start_date: '2017-01-20', end_date: '2017-01-21')
end

def create
Expand Down

0 comments on commit 74c2e8d

Please sign in to comment.