Sha256: f941cd9a3fa5e0638d01fdea83a4ec38e856b0a7fe9b58440a3d1187c442b89d

Contents?: true

Size: 890 Bytes

Versions: 2

Compression:

Stored size: 890 Bytes

Contents

require 'rails'
require 'active_record'
require 'action_controller/railtie'
require 'action_view/railtie'
require 'action_mailer/railtie'
require 'haml'
require 'galakei/railtie'
require 'galakei/engine'

# config
app = Class.new(Rails::Application)
app.config.root = File.dirname(__FILE__)
app.config.secret_token = "3b7cd727ee24e8444053437c36cc66c4"
app.config.session_store :cookie_store, :key => "_myapp_session"
app.config.active_support.deprecation = :log
app.config.galakei.session_id_parameter = true
app.config.action_mailer.delivery_method = :test
app.initialize!

app.routes.draw do
  match 'session_generation' => "sessions#session_generation"
  match 'galakei/spacer/:color' => 'galakei/spacer#create', :defaults => { :format => :gif } # should be directly using config/routes
  match ':controller(/:action(/:id))'
end
class ApplicationController < ActionController::Base; end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
galakei-0.11.3 spec/app/fake.rb
galakei-0.11.2 spec/app/fake.rb