Permalink
Browse files

updated SampleKoalaRailsApp (from koalatest)

  • Loading branch information...
1 parent 61bc63e commit 118a92c0d4826f4e6fb82d5f0262b618c079a871 @banane committed Feb 27, 2012
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <title>Koalatest</title>
+ <title>SampleKoalaRailsApp</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
View
@@ -0,0 +1,4 @@
+# This file is used by Rack-based servers to start the application.
+
+require ::File.expand_path('../config/environment', __FILE__)
+run SampleKoalaRailsApp::Application
View
@@ -9,7 +9,7 @@
# Bundler.require(:default, :assets, Rails.env)
end
-module Koalatest
+module SampleKoalaRailsApp
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
View
@@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the rails application
-Koalatest::Application.initialize!
+SampleKoalaRailsApp::Application.initialize!
@@ -1,4 +1,4 @@
-Koalatest::Application.configure do
+SampleKoalaRailsApp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
@@ -1,4 +1,4 @@
-Koalatest::Application.configure do
+SampleKoalaRailsApp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# Code is not reloaded between requests
@@ -1,4 +1,4 @@
-Koalatest::Application.configure do
+SampleKoalaRailsApp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The test environment is used exclusively to run your application's
@@ -4,4 +4,4 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
-Koalatest::Application.config.secret_token = '81a2c5359f33ce1a24e479f66a5f6288dcb7d8a7c6bf1374643952557e31880b26f6fd0c4b7b2b2638e76fa612d5fec5e50fdcf8b0389b60754a852f1750fcc8'
+SampleKoalaRailsApp::Application.config.secret_token = '81a2c5359f33ce1a24e479f66a5f6288dcb7d8a7c6bf1374643952557e31880b26f6fd0c4b7b2b2638e76fa612d5fec5e50fdcf8b0389b60754a852f1750fcc8'
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.
-Koalatest::Application.config.session_store :cookie_store, key: '_koalatest_session'
+SampleKoalaRailsApp::Application.config.session_store :cookie_store, key: '_samplekoalarailsapp_session'
# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
-# Koalatest::Application.config.session_store :active_record_store
+# SampleKoalaRailsApp::Application.config.session_store :active_record_store
View
@@ -1,4 +1,4 @@
-Koalatest::Application.routes.draw do
+SampleKoalaRailsApp::Application.routes.draw do
# The priority is based upon order of creation:
# first created -> highest priority.

0 comments on commit 118a92c

Please sign in to comment.