Sha256: c31e56bfffa7c785854095b496e6410d19fd2bb711d8ed363c34c73359e61a97

Contents?: true

Size: 314 Bytes

Versions: 1

Compression:

Stored size: 314 Bytes

Contents

# Application controller, global controller
class ApplicationController < ActionController::Base
  protect_from_forgery with: :exception

  def common
    render partial: '/common.html.erb'
  end

  def default
    respond_to do |format|
      format.html { render template: 'default.html.erb' }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
voxality_core-0.1.0.1 lib/generators/voxality_core/templates/app/controllers/application_controller.rb