Skip to content

Commit

Permalink
Fix: fix wrong rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
papricek committed Sep 16, 2014
1 parent 4f6333d commit d90eaf0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ GEM
railties (>= 3.0.0)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
highline (1.6.21)
hashie (3.3.1)
highline (1.6.21)
hike (1.2.3)
httparty (0.13.1)
json (~> 1.8)
Expand Down Expand Up @@ -220,7 +220,7 @@ PLATFORMS
DEPENDENCIES
better_errors
binding_of_caller
bootstrap-sass (~> 3.1.1)
bootstrap-sass
capistrano (~> 2.0)
capistrano-ext
capybara
Expand Down
7 changes: 1 addition & 6 deletions app/controllers/entries_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,14 @@ class EntriesController < ApplicationController

def index
@entry_finder = Entry::Finder.new(finder_params)
@entry_form ||= EntryForm.new
@entry_form ||= EntryForm.new(current_user)

respond_to do |format|
format.html
format.pdf do
send_pdf_data('entries/index.pdf.slim', 'report.pdf')
end
end

@total = @entries.sum(:minutes)

@entry_form ||= EntryForm.new(current_user)

end

def new
Expand Down

0 comments on commit d90eaf0

Please sign in to comment.