master
 1module Api
 2  module V2
 3    class TutorialsController < ApplicationController
 4      def index
 5        @tutorials = Tutorial.page(page).per(per_page)
 6      end
 7
 8      def show(id = params[:id])
 9        @tutorial = Tutorial.find(id)
10      end
11    end
12  end
13end