Changeset [2f5421c1162a0465bec56e0b937276a1c987a7d1] by Mike Dalessio
October 29th, 2008 @ 02:13 PM
making views use proper path methods to support hosting aintablog under relative urls.
these are the simple ones. four more i want to be more careful with ...
- app/views/posts/types/_snippet.html.erb:
<%= spanned_link post.header, "/snippets/#{post.permalink}" %>
- app/views/posts/types/picture.html.erb:<%= edit_in_place_for post, :header, :tag => :small, :url => "/posts/#{post.id}", :id => "post#{post.id}_header" %>
- app/views/admin/posts/types/_snippet.html.erb:
<%= spanned_link post.header, "/snippets/#{post.permalink}" %>
- app/views/admin/posts/types/picture.html.erb:<%= edit_in_place_for post, :header, :tag => :small, :url => "/posts/#{post.id}", :id => "post#{post.id}_header" %> http://github.com/nakajima/ainta...
Committed by Mike Dalessio
- M app/views/admin/posts/edit.html.erb
- M app/views/admin/posts/index.html.erb
- M app/views/admin/posts/new.html.erb
- M app/views/admin/posts/show.html.erb
- M app/views/admin/posts/types/_article.html.erb
- M app/views/admin/posts/types/_snippet.html.erb
- M app/views/posts/edit.html.erb
- M app/views/posts/index.html.erb
- M app/views/posts/new.html.erb
- M app/views/posts/show.html.erb
- M app/views/posts/types/_article.html.erb
- M app/views/posts/types/_snippet.html.erb
- M app/views/shared/_admin.html.erb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Open source tumblog in Ruby on Rails.
<a href="http://aintablog.com">aintablog.com</a>