app/controllers/locomotive/translations_controller.rb in locomotive_cms-2.0.3 vs app/controllers/locomotive/translations_controller.rb in locomotive_cms-2.1.0
- old
+ new
@@ -4,10 +4,10 @@
sections :settings, :translations
respond_to :json, only: [:create, :update]
def index
- @translations = current_site.translations.ordered
+ @translations = current_site.translations.ordered.page(params[:page]).per(Locomotive.config.ui[:per_page])
respond_with @translations
end
def new
@translation = current_site.translations.build
\ No newline at end of file