Sha256: 9a803f53c8b45c7063cdccdd74e38c673ca89e8222e3e4ca2e03abf20ed0e188
Contents?: true
Size: 966 Bytes
Versions: 14
Compression:
Stored size: 966 Bytes
Contents
require 'rails' require 'active_record' require 'action_controller/railtie' require 'action_view/railtie' require 'haml' require 'galakei/railtie' require 'galakei/engine' # database ActiveRecord::Base.configurations = {'test' => {:adapter => 'sqlite3', :database => ':memory:'}} ActiveRecord::Base.establish_connection('test') # 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.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
14 entries across 14 versions & 1 rubygems