Sha256: 71e03ec48cb09e6a55aa77b53690fc296ba79d3619b7d9e468b6570267baf681

Contents?: true

Size: 466 Bytes

Versions: 15

Compression:

Stored size: 466 Bytes

Contents

require 'application_responder'

class ApplicationController < ActionController::Base
  self.responder = ApplicationResponder
  respond_to :html, :json
  WillPaginate.per_page = 10

  # Prevent CSRF attacks by raising an exception.
  # For APIs, you may want to use :null_session instead.
  protect_from_forgery with: :exception

  def after_sign_in_path_for(resource_or_scope)
    if current_user
      super
    else
      hq_dashboard_index_path
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cybele-1.8.0 templates/app/controllers/application_controller.rb
cybele-1.7.2 templates/app/controllers/application_controller.rb
cybele-1.7.0 templates/app/controllers/application_controller.rb
cybele-1.6.0 templates/app/controllers/application_controller.rb
cybele-1.5.1 templates/app/controllers/application_controller.rb
cybele-1.5.0 templates/app/controllers/application_controller.rb
cybele-1.4.0 templates/app/controllers/application_controller.rb
cybele-1.3.0 templates/app/controllers/application_controller.rb
cybele-1.2.0 templates/app/controllers/application_controller.rb
cybele-1.1.0 templates/app/controllers/application_controller.rb
cybele-1.0.0 templates/app/controllers/application_controller.rb
cybele-0.10.1 templates/app/controllers/application_controller.rb
cybele-0.10.0 templates/app/controllers/application_controller.rb
cybele-0.9.0 templates/app/controllers/application_controller.rb
cybele-0.8.0 templates/app/controllers/application_controller.rb