|
|
|
@ -7,8 +7,9 @@ class SoftapplicationsController < ApplicationController
|
|
|
|
|
# GET /softapplications.json
|
|
|
|
|
def index
|
|
|
|
|
@softapplications = Softapplication.all
|
|
|
|
|
|
|
|
|
|
#new added fenyefunction
|
|
|
|
|
@limit = 5
|
|
|
|
|
#new added
|
|
|
|
|
@softapplication_count = @softapplications.count
|
|
|
|
|
@softapplication_pages = Paginator.new @softapplication_count, @limit, params['page']
|
|
|
|
|
@offset ||= @softapplication_pages.offset
|
|
|
|
|