Sha256: 9de1fd0ed8ce448111a3b66b415607c6c2df10d31f8644e787ddfee2938327fc
Contents?: true
Size: 337 Bytes
Versions: 11
Compression:
Stored size: 337 Bytes
Contents
class LicensesController < InheritedResources::Base respond_to :html, :json load_and_authorize_resource def update @license = License.find(params[:id]) if params[:move] move_position(@license, params[:move]) return end update! end def index @licenses = @licenses.page(params[:page]) end end
Version data entries
11 entries across 11 versions & 1 rubygems