Commit 55a167ed98df0473a8916599435ecc966de940b6
Exists in
staging
and in
7 other branches
Merge branch 'master' into stable
Showing
4 changed files
with
3 additions
and
4 deletions
Show diff stats
Gemfile
... | ... | @@ -19,7 +19,7 @@ gem 'exception_notification', '~> 4.0.1' |
19 | 19 | gem 'gettext', '~> 2.2.1', :require => false, :group => :development |
20 | 20 | gem 'locale', '~> 2.0.5' |
21 | 21 | gem 'whenever', :require => false |
22 | -gem 'eita-jrails', :require => false | |
22 | +gem 'eita-jrails', '>= 0.9.5', :require => 'jrails' | |
23 | 23 | |
24 | 24 | group :production do |
25 | 25 | gem 'dalli', '~> 2.7.0' | ... | ... |
app/controllers/public_controller.rb
... | ... | @@ -13,7 +13,7 @@ class PublicController < ApplicationController |
13 | 13 | |
14 | 14 | def private_profile |
15 | 15 | private_profile_partial_parameters |
16 | - render :template => 'shared/access_denied.html.erb', :status => 403 | |
16 | + render :template => 'profile/_private_profile', :status => 403, :formats => [:html] | |
17 | 17 | end |
18 | 18 | |
19 | 19 | def invisible_profile | ... | ... |
config/initializers/jrails.rb
... | ... | @@ -1 +0,0 @@ |
1 | -require 'jrails' |
debian/control