Sha256: 255c1c73a51b286b1d811294c2b7b9e4b3b23c799ab3c67170f908a784189723

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

# Handles HTTP actions for UI
class UiController < ApplicationController
  # Before filter to check if application is running in development
   before_action do
    redirect_to :root if Rails.env.production?
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
myrails-6.0.0 lib/myrails/templates/ui/ui_controller.rb
myrails-5.0.0 lib/myrails/templates/ui/ui_controller.rb
myrails-4.0.0 lib/myrails/templates/ui/ui_controller.rb
myrails-3.2.1 lib/myrails/templates/ui/ui_controller.rb