์๋ ํ์ธ์. ์ฒ์ ๋ฐฉ๋ฌธํ์๋ ๋ถ๋ค์๊ฒ๋ง ์ ๊ณต๋๋ ๋ฌธ์ ์ ๋๋ค. ์ฆ , ์ด์ ์ ์ฝ๋๋ฒ ์ด์ค์ ๊ธฐ์ฌํ ์ ์ด์๋ ์ฌ๋์ด๋ ์คํ ์์ค์ ๊ธฐ์ฌํ ์ ์ด์๋ ์ฌ๋์ด ๋ ์ฝ๊ฒ ์ฝ์ ์ ์๋๋ก ๋ ธ๋ ฅํ์ต๋๋ค.
๊ทธ๊ฒ ๋น์ ์ด๋ผ๋ฉด, ์ฐ๋ฆฌ๋ ๋น์ ์ด ์ฒซ ๋ฒ์งธ ๋จ๊ณ๋ฅผ ๋ฐ๋๋ก ๋๊ณ ๋น์ ์ดํ๋ ๊ฒ์ฒ๋ผ ์ง๋ฌธ์ ๋ตํ๊ณ ๋น์ ์ ๋์ธ ์ ์์ต๋๋ค. ์ฐ๋ฆฌ๋ ํนํ ๋ฌด๋ฃ ๋ฐ ์คํ ์์ค ์ํํธ์จ์ด์์ ๊ณผ์ ๋ํ๋๋ ๊ทธ๋ฃน์ ์ฌ๋๋ค์ ๊ธฐ์ฌ์ ๊ด์ฌ์ด ์์ต๋๋ค!
์ด์ ์ ๊ธฐ์ฌํ ์ ์ด ์๋ค๋ฉด ์๋ก์ด ์ฌ๋์ ์ํด์ด ํญ๋ชฉ์ ๋จ๊ฒจ๋๊ณ ์ผ๋ฐ์ ์ธ ๋์์ด ํ์ํ ๋ฌธ์ ๋ฅผ ์ดํด๋ณด์ญ์์ค. ๊ฐ์ฌ!
์ฌ์ฉ์๋ ํน์ ํ๊ทธ๋ฅผ ํ๋ก์ฐ ํด์ ํ๊ธฐ ์ํด ๋ค์ ๋ฒํผ์ ๋ค์ ํด๋ฆญ ํ ์ ์์ง๋ง ํด๋น ํ๊ทธ ํ์ด์ง๋ก ๋ฆฌ๋๋ ์
๋ฉ๋๋ค.
์ผ์ด๋ ์ผ :
์ฌ์ฉ์๊ฐ ์ด๋ฏธ ์ฃผ์ ๋ฅผ ํ๋ก์ฐํ๊ณ ์๋ ๊ฒฝ์ฐ์ด ๋ฒํผ์ ๋ค์ ํด๋ฆญํ๋ฉด ํด๋น ์ฃผ์ ์์ ์ฌ์ฉ์๋ฅผ ๊ตฌ๋
์ทจ์ํด์ผํฉ๋๋ค.
์ค์ ๋ก ์ผ์ด๋๋ ์ผ :
์ฌ์ฉ์๋ ํน์ ์ฃผ์ ํ์ด์ง๋ก ๋ฆฌ๋๋ ์
๋ฉ๋๋ค.
๊ด๋ จ ์ฝ๋ ์ค์ ์ฐพ์ ์์๋ ์์น :
https://github.com/publiclab/plots2/blob/master/app/views/home/subscriptions.html.erb#L9
https://github.com/publiclab/plots2/blob/master/app/views/tag/show.html.erb#L47
๋ณ๊ฒฝ ์ฌํญ :
์์์ ์ธ๊ธ ํ ๋ ์ค์ data-method="delete"
์ ์ถ๊ฐํด์ผํฉ๋๋ค.
<a rel="tooltip" title="<%= t('home.subscriptions.click_unfollow') %>" class="btn btn-default active" href="/unsubscribe/tag/everything"><i class="fa fa-eye"></i> <%= t('home.subscriptions.following') %> <b><%= t('home.subscriptions.research_notes') %></b></a>
...์
<a rel="tooltip" title="<%= t('home.subscriptions.click_unfollow') %>" class="btn btn-default active" href="/unsubscribe/tag/everything" data-method="delete"><i class="fa fa-eye"></i> <%= t('home.subscriptions.following') %> <b><%= t('home.subscriptions.research_notes') %></b></a>
๊ณผ
<a rel="tooltip" title="<%= t('home.subscriptions.click_unfollow') %>" class="btn btn-default active" href="/unsubscribe/tag/everything"><i class="fa fa-eye"></i> <%= t('home.subscriptions.following') %> <b><%= t('home.subscriptions.research_notes') %></b></a>
...์
<a rel="tooltip" title="<%= t('home.subscriptions.click_unfollow') %>" class="btn btn-default active" href="/unsubscribe/tag/everything" data-method="delete"><i class="fa fa-eye"></i> <%= t('home.subscriptions.following') %> <b><%= t('home.subscriptions.research_notes') %></b></a>
๊ฐ๋ฐ์ ๋ชฉ๋ก (https://publiclab.org/wiki/developers ์ฐธ์กฐ)์ผ๋ก ์ด๋ฉ์ผ์ ๋ณด๋ด๊ฑฐ๋ ์ง๋ฌธ์ด์๋ ๊ฒฝ์ฐ ์ฑํ ๋ฃธ์ผ๋ก ์ด๋ํ๊ณ ์์ธํ ๋ด์ฉ์ ์ฒ์ ๋ฐฉ๋ฌธํ๋ ์ฌ๋์ ๋๋ฉ ํ์ด์ง๋ฅผ ์ฐธ์กฐํ์ญ์์ค !
์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ณ ์ถ์ต๋๋ค
@ namangupta01- ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ ์ ์์ต๋๋ค.ํ์ง๋ง ์ด์ ์ first-timers-only
๋ฌธ์ ๋ฅผ ํ ๋ฒ ํด๋ณธ ์ ์ด ์๋ค๋ฉด ์ด ์์
์ ๋ง์น๋ฉด https://publiclab.github.io/community-toolbox/#r=all์์ ์์ ํ ๋ฌธ์ํ๋์ง ์์ ๋ฌธ์ ์ค ํ๋๋ฅผ ํด๊ฒฐํ์ฌ ์์ ํ ์ ๊ท ์ฌ์ฉ์๊ฐ ํ ์ ์์ต๋๋ค. first-timers-only
๋ฌธ์ ๋ฅผ ํด๊ฒฐ ํ์๊ฒ ์ต๋๊น? ๋น์ ์ ์ ๋ฌธ์ฑ์ ๊ณผ์ ํ๊ฐํ์ง ๋ง์ธ์! :-)
๊ฐ์ฌ!!!
๊ทธ๋ฆฌ๊ณ @rishabhptr- ์ฒซ ๋ฒ์งธ ์ฒซ ๋ฒ์งธ ํ์ด๋จธ ์ ์ฉ ๋ฌธ์ ์ ๋๋ค! ๐ ๐ฏ
@jywarren ๋ฌผ๋ก ์ ๋๋ค.