Sha256: 88c7918eefb41cc854690429ba6f62e64357c5a655502660891126f91c65b24b

Contents?: true

Size: 356 Bytes

Versions: 6

Compression:

Stored size: 356 Bytes

Contents

module Optimacms
  class ApplicationController < ActionController::Base
    protect_from_forgery with: :exception

    # include FontAwesome::Rails::IconHelper

    include Optimacms::ApplicationHelper


    def current_lang
      return I18n.locale
    end

    def not_found
      raise ActionController::RoutingError.new('Not Found')
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
optimacms-0.1.15 app/controllers/optimacms/application_controller.rb
optimacms-0.1.14 app/controllers/optimacms/application_controller.rb
optimacms-0.1.5 app/controllers/optimacms/application_controller.rb
optimacms-0.1.3 app/controllers/optimacms/application_controller.rb
optimacms-0.1.2 app/controllers/optimacms/application_controller.rb
optimacms-0.1.1 app/controllers/optimacms/application_controller.rb