Commit 696a5f9014d3b7a8474277b0aa7bfae36ef92c59
1 parent
e55cebc7
Exists in
master
and in
22 other branches
change embed denied message
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
app/controllers/embed_controller.rb
... | ... | @@ -5,7 +5,7 @@ class EmbedController < ApplicationController |
5 | 5 | source = params[:source] |
6 | 6 | |
7 | 7 | if !block.embedable? || !block.visible? |
8 | - render :template => 'shared/embed_denied.rhtml', :status => 403, :layout => "embed" | |
8 | + render :template => 'shared/embed_unavailable.rhtml', :status => 403, :layout => "embed" | |
9 | 9 | else |
10 | 10 | locals = {:source => source, :block => block} |
11 | 11 | render 'embed/index', :layout => 'embed', :locals => locals | ... | ... |
app/views/shared/embed_denied.rhtml