diff --git a/Gemfile b/Gemfile index 212d05d..51ce931 100644 --- a/Gemfile +++ b/Gemfile @@ -1,8 +1,7 @@ source 'https://rubygems.org' - # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '~> 5.1.4' +gem 'rails', '~> 5.0.0' # Use sqlite3 as the database for Active Record # gem 'sqlite3' gem 'momentjs-rails', '>= 2.9.0' @@ -11,7 +10,7 @@ gem 'devise' gem 'mysql2' # Use Puma as the app server -gem 'puma', '~> 3.7' +gem 'puma', '~> 3.0' # Use SCSS for stylesheets gem 'sass-rails', '~> 5.0' # Use Uglifier as compressor for JavaScript assets @@ -32,7 +31,7 @@ gem 'jbuilder', '~> 2.5' # gem 'redis', '~> 3.0' # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' - +gem 'cocoon' # Use Capistrano for deployment # gem 'capistrano-rails', group: :development gem 'wicked_pdf' diff --git a/app/controllers/invoices_controller.rb b/app/controllers/invoices_controller.rb index 40ba83a..9416980 100644 --- a/app/controllers/invoices_controller.rb +++ b/app/controllers/invoices_controller.rb @@ -18,8 +18,8 @@ class InvoicesController < ApplicationController margin: { top: 8, # default 10 (mm) bottom: 8, left: 8, - right: 8 }, - viewport_size: '1280x1024' + right: 8 }, + viewport_size: '1336x1024' end end end