Skip to content

Commit

Permalink
Don't try to singularize the report name
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Long committed Jan 22, 2013
1 parent bce5b32 commit d671bbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/dossier/reports_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def show
private

def report_class
"#{params[:report].classify}Report".constantize
"#{params[:report].titleize.delete(' ')}Report".constantize
end

end
Expand Down

0 comments on commit d671bbd

Please sign in to comment.