update the iframe route, fix a small styleing thing in newspaper style for iframe view
This commit is contained in:
parent
90a2f05515
commit
b10aedb615
2 changed files with 2 additions and 2 deletions
|
|
@ -194,7 +194,7 @@ article { //mood posts
|
|||
text-align: left;
|
||||
|
||||
.container {
|
||||
width: 600px;
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.photo_viewer {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue