Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.343 kB
class VersionsController < ApplicationController
before_filter :find_rubygem
def index
@versions = @rubygem.versions.by_position
end
def show
@latest_version = Version.find_from_slug!(@rubygem.id, params[:id])
@versions = @rubygem.public_versions_with_extra_version(@latest_version)
render "rubygems/show"
end
end
Jump to Line
Something went wrong with that request. Please try again.