update the iframe route, fix a small styleing thing in newspaper style for iframe view

This commit is contained in:
Maxwell Salzberg 2012-04-17 22:43:47 -07:00
parent 90a2f05515
commit b10aedb615
2 changed files with 2 additions and 2 deletions

View file

@ -194,7 +194,7 @@ article { //mood posts
text-align: left; text-align: left;
.container { .container {
width: 600px; max-width: 600px;
} }
.photo_viewer { .photo_viewer {

View file

@ -19,7 +19,7 @@ Diaspora::Application.routes.draw do
match "/framer" => redirect("/posts/new") match "/framer" => redirect("/posts/new")
get 'p/:id' => 'posts#show', :as => 'short_post' 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 # roll up likes into a nested resource above
resources :comments, :only => [:create, :destroy] do resources :comments, :only => [:create, :destroy] do