app/controllers/kuhsaft/pages_controller.rb in kuhsaft-1.3.1 vs app/controllers/kuhsaft/pages_controller.rb in kuhsaft-1.4.0

- old
+ new

@@ -1,6 +1,6 @@ module Kuhsaft - class PagesController < ApplicationController + class PagesController < ::ApplicationController respond_to :html def show @url = "#{params[:locale]}/#{params[:url]}" if params[:url].present? && params[:locale].present? @page = Kuhsaft::Page.find_by_url(@url)