From b10aedb615634b0daac117dcef8f54a456fb2fe1 Mon Sep 17 00:00:00 2001 From: Maxwell Salzberg Date: Tue, 17 Apr 2012 22:43:47 -0700 Subject: [PATCH] update the iframe route, fix a small styleing thing in newspaper style for iframe view --- app/assets/stylesheets/new_styles/_base.scss | 2 +- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/new_styles/_base.scss b/app/assets/stylesheets/new_styles/_base.scss index c28c53997..636756419 100644 --- a/app/assets/stylesheets/new_styles/_base.scss +++ b/app/assets/stylesheets/new_styles/_base.scss @@ -194,7 +194,7 @@ article { //mood posts text-align: left; .container { - width: 600px; + max-width: 600px; } .photo_viewer { diff --git a/config/routes.rb b/config/routes.rb index a50712307..d556997cb 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -19,7 +19,7 @@ Diaspora::Application.routes.draw do match "/framer" => redirect("/posts/new") get 'p/:id' => 'posts#show', :as => 'short_post' - get 'p/:id/iframe' => 'posts#iframe', :as => 'iframe' + get 'posts/:id/iframe' => 'posts#iframe', :as => 'iframe' # roll up likes into a nested resource above resources :comments, :only => [:create, :destroy] do