Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
  • 3 commits
  • 6 files changed
  • 0 commit comments
  • 1 contributor
4 padrino/Gemfile
View
@@ -11,7 +11,7 @@ gem 'haml'
# Test requirements
# Padrino
-gem 'padrino', "0.9.14"
+gem 'padrino', '0.9.29'
-gem 'sinatra-simple-navigation', "3.3.1", :require => 'sinatra/simple-navigation'
+gem 'sinatra-simple-navigation', "3.3.3", :require => 'sinatra/simple-navigation'
gem 'i18n'
4 padrino/app/app.rb
View
@@ -14,8 +14,8 @@ class SimpleNavigationApp < Padrino::Application
# set :reload, false # Reload application files (default in development)
# set :default_builder, "foo" # Set a custom form builder (default 'StandardFormBuilder')
# set :locale_path, "bar" # Set path for I18n translations (defaults to app/locale/)
- # enable :sessions # Disabled by default
- # disable :flash # Disables rack-flash (enabled by default if sessions)
+ enable :sessions # Disabled by default
+ disable :flash # Disables rack-flash (enabled by default if sessions)
# layout :my_layout # Layout can be in views/layouts/foo.ext or views/foo.ext (default :application)
#
4 padrino/app/controllers/main.rb
View
@@ -1,5 +1,9 @@
SimpleNavigationApp.controller do
+ get '/' do
+ render 'index'
+ end
+
get '/:all' do
render 'index'
end
2  rails2/Gemfile
View
@@ -2,4 +2,4 @@ source :gemcutter
gem 'rails', '2.3.11'
gem 'haml', '3.0.14'
-gem 'simple-navigation', '3.3.0'
+gem 'simple-navigation', '3.3.2'
2  rails3/Gemfile
View
@@ -2,4 +2,4 @@ source 'http://rubygems.org'
gem 'rails', '3.0.6'
gem 'haml', '3.0.14'
-gem 'simple-navigation', '3.3.0'
+gem 'simple-navigation', '3.3.2'
4 sinatra/Gemfile
View
@@ -3,6 +3,6 @@ source :gemcutter
gem 'activesupport'
gem 'i18n'
gem 'shotgun'
-gem 'sinatra', '1.0'
+gem 'sinatra', '1.2.6'
gem 'haml', '3.0.14'
-gem 'sinatra-simple-navigation', '3.3.1'
+gem 'sinatra-simple-navigation', '3.3.3'

No commit comments for this range

Something went wrong with that request. Please try again.