Sha256: f6fdcf954c7310d1b2c756cc60094aaf762c95c026c4d20b3d0139fe85f442c3

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

module Kuhsaft
  class PagesController < ApplicationController
    
    respond_to :html
    
    def show
      @page = Kuhsaft::LocalizedPage.where('slug = ?', params[:slug]).where('locale = ?', params[:translation_locale]).first
      respond_with @page
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kuhsaft-0.0.3 app/controllers/kuhsaft/pages_controller.rb