class ErrorsController < ApplicationController
	
	layout "error"

	before_action :check_action

	def error
		render :status => 404
	end

	def not_found
		render :error, :layout => 'error', status: 404
	end

	private

		def check_action
			puts params[:action]
		end

end