gem 'google-api-client', '~> 0.6.3'
gem 'trollop'
+gem 'themes_for_rails'
+
gem 'arvados-cli', '>= 0.1.20140328152103'
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.8)
test_after_commit (0.2.2)
+ themes_for_rails (0.5.1)
+ rails (>= 3.0.0)
therubyracer (0.12.0)
libv8 (~> 3.16.14.0)
ref
sass-rails (>= 3.2.0)
sqlite3
test_after_commit
+ themes_for_rails
therubyracer
trollop
uglifier (>= 1.0.3)
class ApplicationController < ActionController::Base
include CurrentApiClient
+ include ThemesForRails::ActionController
respond_to :json
protect_from_forgery
:render_error,
:render_not_found]
+ theme :select_theme
+
attr_accessor :resource_attrs
def index
end
super *opts
end
+
+ def select_theme
+ return Rails.configuration.arvados_theme
+ end
end
# Version of your assets, change this if you want to expire all your assets
assets.version: "1.0"
+
+ arvados_theme: default
Server::Application.routes.draw do
+ themes_for_rails
+
resources :humans
resources :traits
resources :repositories