Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/controllers/paper_trail_manager/changes_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def index
@page = nil if @page.zero?

@per_page = params[:per_page].to_i
@per_page = nil if @per_page.zero?
@per_page = PER_PAGE if @per_page.zero?

@versions = if defined?(WillPaginate)
@versions.paginate(page: @page, per_page: @per_page)
Expand Down
2 changes: 1 addition & 1 deletion paper_trail_manager.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.name = 'paper_trail_manager'
spec.version = '0.8.0'
spec.authors = ['Igal Koshevoy', 'Reid Beels']
spec.authors = ['mail@reidbeels.com']
spec.email = ['mail@reidbeels.com']
spec.summary = 'A user interface for `paper_trail` versioning data in Rails applications.'
spec.description = 'Browse, subscribe, view and revert changes to records when using Rails and the `paper_trail` gem.'
spec.homepage = 'https://github.com/DamageLabs/paper_trail_manager'
Expand Down
Loading